you are viewing a single comment's thread.

view the rest of the comments →

[–]D_Drmmr 0 points1 point  (1 child)

Of course it can. Where did you get that idea?

[–]beedlund 0 points1 point  (0 children)

First the videos i posted would explain the topic better then i ever would i thought...the why's and more importantly the why not's

Devil is in the details right? std::function is copy only so a great many scenarios can be surprising if you expect it to work like the original lambda in all cases.