Re:Under the hood of C++ lambdas and std::function
by svalorzen on Monday March 28, 2016 @06:41AM
(#11373529)
Note that `do_stuff` may not necessarily be illegal, since a moved value is required to be valid but in an unknown state. So maybe the result of `do_stuff` will be unspecified and unknowable (unless it requires some specific assumptions about the data), but any operations on `foo` should not give rise to obvious errors.
[ Parent
| on HN ]
There are no comments on this comment yet.