Boost C++ Libraries: Ticket #3633: boost::gregorian::greg_year is missing a default constructor https://svn.boost.org/trac10/ticket/3633 <p> boost::gregorian::greg_year is missing a default constructor, which prevents it from being serialized with boost::serialization. This is not the case with greg_month or greg_day. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3633 Trac 1.4.3 az_sw_dude Sun, 01 Jul 2012 17:19:46 GMT status, version changed https://svn.boost.org/trac10/ticket/3633#comment:1 https://svn.boost.org/trac10/ticket/3633#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.51.0</span> </li> </ul> <p> Well in fact neither of the listed types has a default constructor as that's not a requirement for boost serialization. So the actual problem here is a missing set of functions in greg_serialize.hpp for the greg_year type -- the other types already have the needed serialization functions. </p> Ticket az_sw_dude Sun, 01 Jul 2012 17:20:42 GMT owner, status changed; cc set https://svn.boost.org/trac10/ticket/3633#comment:2 https://svn.boost.org/trac10/ticket/3633#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">Marshall</span> <span class="trac-author">Clow</span> <span class="trac-author">&lt;mclow.lists@…&gt;</span> added </li> <li><strong>owner</strong> changed from <span class="trac-author">az_sw_dude</span> to <span class="trac-author">Marshall Clow</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket Marshall Clow Mon, 02 Jul 2012 15:14:06 GMT <link>https://svn.boost.org/trac10/ticket/3633#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3633#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/79228" title="Refs #3633; will close when merged to release">[79228]</a>) Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3633" title="#3633: Bugs: boost::gregorian::greg_year is missing a default constructor (closed: fixed)">#3633</a>; will close when merged to release </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Sun, 15 Jul 2012 16:49:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3633#comment:4 https://svn.boost.org/trac10/ticket/3633#comment:4 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/79539" title="Merge greg_year serialization changes to release; fixes #3633">[79539]</a>) Merge greg_year serialization changes to release; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3633" title="#3633: Bugs: boost::gregorian::greg_year is missing a default constructor (closed: fixed)">#3633</a> </p> Ticket