diff --git a/include/boost/date_time/posix_time/ptime.hpp b/include/boost/date_time/posix_time/ptime.hpp index 940f07f..a8b32a9 100644 --- a/include/boost/date_time/posix_time/ptime.hpp +++ b/include/boost/date_time/posix_time/ptime.hpp @@ -45,6 +45,10 @@ namespace posix_time { ptime(const time_rep_type& rhs): date_time::base_time(rhs) {} + //! Construct from special value + ptime(const special_values sv) : date_time::base_time(gregorian::date(sv), time_duration_type(sv)) + {} + };