Boost C++ Libraries: Ticket #11525: Cannot serialize a pointer to fundamental type. https://svn.boost.org/trac10/ticket/11525 <p> It seems that <code>boost::archive::detail::pointer_oserializer</code> doesn't accept a pointer to fundamental type, i.e. it assumes a pointer to class type. </p> <p> see: <a class="ext-link" href="http://melpon.org/wandbox/permlink/0mvDGZ0e1OsLwrfE"><span class="icon">​</span>http://melpon.org/wandbox/permlink/0mvDGZ0e1OsLwrfE</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11525 Trac 1.4.3 Robert Ramey Mon, 28 Sep 2015 05:55:42 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11525#comment:1 https://svn.boost.org/trac10/ticket/11525#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> this is a feature. It's described in the documentation. The reasons for this rule are also there (somewhere). Sorry I can't point to the exact spot, but it's in there. </p> <p> If you need to do this - wrap it in a unique type. </p> Ticket