Fix C++11 constexpr bug in year_lastweek_weekday::weeknum()

This commit is contained in:
Howard Hinnant 2016-11-02 14:21:26 -04:00
parent 887d7574b1
commit 27964fa642

View File

@ -343,7 +343,7 @@ public:
year_lastweek_weekday& operator-=(const years& y) NOEXCEPT;
CONSTCD11 iso_week::year year() const NOEXCEPT;
CONSTCD11 iso_week::weeknum weeknum() const NOEXCEPT;
CONSTCD14 iso_week::weeknum weeknum() const NOEXCEPT;
CONSTCD11 iso_week::weekday weekday() const NOEXCEPT;
CONSTCD14 operator sys_days() const NOEXCEPT;
@ -1299,7 +1299,7 @@ year_lastweek_weekday::operator-=(const years& y) NOEXCEPT
CONSTCD11 inline year year_lastweek_weekday::year() const NOEXCEPT {return y_;}
CONSTCD11
CONSTCD14
inline
weeknum
year_lastweek_weekday::weeknum() const NOEXCEPT