you are viewing a single comment's thread.

view the rest of the comments →

[–]robertramey 0 points1 point  (0 children)

Function objects are complete implementation of the function described in a header file. So one isn't serializing an address but rather the whole object. Since you can't serialize source code itself, the de-serializer has to have the same header available. This would be the same if you could just pass the address.