Opened 13 years ago
Closed 10 years ago
#3633 closed Bugs (fixed)
boost::gregorian::greg_year is missing a default constructor
Reported by: | anonymous | Owned by: | Marshall Clow |
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | date_time |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: | Marshall, Clow, <mclow.lists@…> |
Description
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.
Change History (4)
comment:1 by , 10 years ago
Status: | new → assigned |
---|---|
Version: | Boost 1.40.0 → Boost 1.51.0 |
comment:2 by , 10 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | assigned → new |
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.