Comments on: Using shared_from_this inside boost::serialization https://blog.asdfa.net/using-shared_from_this-inside-boostserialization/ Too many monitors, dragons, interesting human interfaces and pointless distractions for one guy. Mon, 21 Oct 2013 19:17:10 +0000 hourly 1 https://wordpress.org/?v=4.0.32 By: Eric Raijmakers https://blog.asdfa.net/using-shared_from_this-inside-boostserialization/comment-page-1/#comment-246 Mon, 21 Oct 2013 19:17:10 +0000 http://blog.asdfa.net/?p=305#comment-246 Hi Jon,

Just wanted to let you know that your post on ‘shared_from_this icw boost::serialization’ really helped me a lot today!

There’s one thing that took me some time to figure out today so I I’ll mention it here: if (de)serializing a derived class, be sure to use ‘load_construct_data’ on the derived class, and not on the base class….

In hindsight, it’s pretty obvious. Still it took me quite some time to discover.

Again, thanks for your post!

Eric

]]>