fix the posix_time constructor to accept special values

[SVN r22590]
This commit is contained in:
Jeff Garland
2004-04-03 23:20:34 +00:00
parent f78a609709
commit af4f6424be

View File

@@ -45,6 +45,10 @@ namespace posix_time {
ptime(const time_rep_type& rhs):
date_time::base_time<time_type,time_system_type>(rhs)
{}
//! Construct from special value
ptime(const special_values sv) : date_time::base_time<time_type,time_system_type>(gregorian::date(sv), time_duration_type(sv))
{}
};