Boost C++ Libraries: Ticket #3328: Serialization support for dynamic_bitset https://svn.boost.org/trac10/ticket/3328 <p> A few mailing list posts have requested interoperation of dynamic_bitset with Boost.Serialization. I was able to get serialization to at least compile with the patch attached to this ticket, although that patch should really have the serialize member moved to a similar position to the other member functions. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3328 Trac 1.4.3 Jeremiah Willcock Sat, 08 Aug 2009 21:36:47 GMT attachment set https://svn.boost.org/trac10/ticket/3328 https://svn.boost.org/trac10/ticket/3328 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bitset.patch</span> </li> </ul> Ticket astukalov@… Sat, 19 Jun 2010 21:35:29 GMT cc, keywords set https://svn.boost.org/trac10/ticket/3328#comment:1 https://svn.boost.org/trac10/ticket/3328#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">astukalov@…</span> added </li> <li><strong>keywords</strong> serialization added </li> </ul> Ticket anonymous Fri, 11 Nov 2011 14:44:26 GMT <link>https://svn.boost.org/trac10/ticket/3328#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3328#comment:2</guid> <description> <p> I could use this as well. Either this or making those members protected so I can access from a derived class of my own. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Brandon Kohn</dc:creator> <pubDate>Fri, 11 Nov 2011 14:57:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3328#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3328#comment:3</guid> <description> <p> It looks like this ticket could be closed. There is a macro that would allow a user to access the members: </p> <p> #undef BOOST_DYNAMIC_BITSET_PRIVATE #define BOOST_DYNAMIC_BITSET_PRIVATE protected #include &lt;boost\dynamic_bitset.hpp&gt; </p> </description> <category>Ticket</category> </item> <item> <author>astukalov@…</author> <pubDate>Sat, 12 Nov 2011 10:49:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3328#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3328#comment:4</guid> <description> <p> @brandon.kohn This looks more like a hack to me as the intention here is just to be compatible with boost::serialization, and not to provide direct access to private members. </p> <p> Frankly, I would like to hear what the dynamic_bitset maintainer thinks as there are several years-old tickets like this that have no final statement, neither there was any feedback on boost mailing list. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>acharles</dc:creator> <pubDate>Fri, 21 Feb 2014 04:23:38 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/3328#comment:5 https://svn.boost.org/trac10/ticket/3328#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennaro Prota</span> to <span class="trac-author">acharles</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket acharles Fri, 21 Feb 2014 04:25:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3328#comment:6 https://svn.boost.org/trac10/ticket/3328#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Unfortunately, no tests are provided with the patch and dynamic_bitset is in maintenance mode, therefore this ticket will be closed until it is reopened with test cases provided. </p> Ticket maxim.yegorushkin@… Fri, 20 Jun 2014 13:54:11 GMT <link>https://svn.boost.org/trac10/ticket/3328#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3328#comment:7</guid> <description> <p> Does it really need a test case because it serializes an integer and a vector which are presumably unit tested by boost::serialization library? </p> <p> I also have to resort to #define BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS hack. </p> </description> <category>Ticket</category> </item> </channel> </rss>