diff --git a/test/date_test/weekday_indexed.pass.cpp b/test/date_test/weekday_indexed.pass.cpp index b393d0b..5d25d2b 100644 --- a/test/date_test/weekday_indexed.pass.cpp +++ b/test/date_test/weekday_indexed.pass.cpp @@ -23,6 +23,7 @@ // class weekday_indexed // { // public: +// weekday_indexed() = default; // constexpr weekday_indexed(const date::weekday& wd, unsigned index) noexcept; // // constexpr date::weekday weekday() const noexcept; @@ -42,7 +43,7 @@ #include static_assert( std::is_trivially_destructible{}, ""); -static_assert(!std::is_default_constructible{}, ""); +static_assert( std::is_default_constructible{}, ""); static_assert( std::is_trivially_copy_constructible{}, ""); static_assert( std::is_trivially_copy_assignable{}, ""); static_assert( std::is_trivially_move_constructible{}, ""); diff --git a/test/date_test/year_month_weekday.pass.cpp b/test/date_test/year_month_weekday.pass.cpp index 6e466b0..1a6ed0d 100644 --- a/test/date_test/year_month_weekday.pass.cpp +++ b/test/date_test/year_month_weekday.pass.cpp @@ -23,6 +23,7 @@ // class year_month_weekday // { // public: +// year_month_weekday() = default; // constexpr year_month_weekday(const date::year& y, const date::month& m, // const date::weekday_indexed& wdi) noexcept; // constexpr year_month_weekday(const sys_days& dp) noexcept; @@ -83,7 +84,7 @@ #include static_assert( std::is_trivially_destructible{}, ""); -static_assert(!std::is_default_constructible{}, ""); +static_assert( std::is_default_constructible{}, ""); static_assert( std::is_trivially_copy_constructible{}, ""); static_assert( std::is_trivially_copy_assignable{}, ""); static_assert( std::is_trivially_move_constructible{}, "");