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 az_sw_dude, 10 years ago

Status: newassigned
Version: Boost 1.40.0Boost 1.51.0

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.

comment:2 by az_sw_dude, 10 years ago

Cc: Marshall Clow <mclow.lists@…> added
Owner: changed from az_sw_dude to Marshall Clow
Status: assignednew

comment:3 by Marshall Clow, 10 years ago

(In [79228]) Refs #3633; will close when merged to release

comment:4 by Marshall Clow, 10 years ago

Resolution: fixed
Status: newclosed

(In [79539]) Merge greg_year serialization changes to release; fixes #3633

Note: See TracTickets for help on using tickets.