mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 00:14:07 +08:00
Remove std::is_literal_type from tests.
* It was deprecated in C++17 and removed in C++20
This commit is contained in:
parent
5d225951ff
commit
88a3b15126
@ -56,7 +56,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::lastweek_weekday>{},
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::lastweek_weekday>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::lastweek_weekday>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::lastweek_weekday>{}, "");
|
static_assert(std::is_standard_layout<iso_week::lastweek_weekday>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::lastweek_weekday>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::lastweek_weekday,
|
static_assert( std::is_nothrow_constructible<iso_week::lastweek_weekday,
|
||||||
iso_week::weekday>{}, "");
|
iso_week::weekday>{}, "");
|
||||||
|
@ -82,7 +82,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::weekday>{}, "");
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::weekday>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::weekday>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::weekday>{}, "");
|
static_assert(std::is_standard_layout<iso_week::weekday>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::weekday>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::weekday, unsigned>{}, "");
|
static_assert( std::is_nothrow_constructible<iso_week::weekday, unsigned>{}, "");
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::weekday, iso_week::sys_days>{}, "");
|
static_assert( std::is_nothrow_constructible<iso_week::weekday, iso_week::sys_days>{}, "");
|
||||||
|
@ -70,7 +70,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::weeknum>{}, "");
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::weeknum>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::weeknum>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::weeknum>{}, "");
|
static_assert(std::is_standard_layout<iso_week::weeknum>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::weeknum>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::weeknum, unsigned>{}, "");
|
static_assert( std::is_nothrow_constructible<iso_week::weeknum, unsigned>{}, "");
|
||||||
static_assert(!std::is_convertible<unsigned, iso_week::weeknum>{}, "");
|
static_assert(!std::is_convertible<unsigned, iso_week::weeknum>{}, "");
|
||||||
|
@ -59,7 +59,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::weeknum_weekday>{}, "
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::weeknum_weekday>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::weeknum_weekday>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::weeknum_weekday>{}, "");
|
static_assert(std::is_standard_layout<iso_week::weeknum_weekday>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::weeknum_weekday>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::weeknum_weekday,
|
static_assert( std::is_nothrow_constructible<iso_week::weeknum_weekday,
|
||||||
iso_week::weeknum,
|
iso_week::weeknum,
|
||||||
|
@ -72,7 +72,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::year>{}, "");
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::year>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::year>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::year>{}, "");
|
static_assert(std::is_standard_layout<iso_week::year>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::year>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::year, int>{}, "");
|
static_assert( std::is_nothrow_constructible<iso_week::year, int>{}, "");
|
||||||
static_assert(!std::is_convertible<int, iso_week::year>{}, "");
|
static_assert(!std::is_convertible<int, iso_week::year>{}, "");
|
||||||
|
@ -64,7 +64,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::year_lastweek>{}, "")
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::year_lastweek>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::year_lastweek>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::year_lastweek>{}, "");
|
static_assert(std::is_standard_layout<iso_week::year_lastweek>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::year_lastweek>{}, "");
|
|
||||||
|
|
||||||
static_assert(std::is_nothrow_constructible<iso_week::year_lastweek,
|
static_assert(std::is_nothrow_constructible<iso_week::year_lastweek,
|
||||||
iso_week::year>{}, "");
|
iso_week::year>{}, "");
|
||||||
|
@ -65,7 +65,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::year_lastweek_weekday
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::year_lastweek_weekday>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::year_lastweek_weekday>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::year_lastweek_weekday>{}, "");
|
static_assert(std::is_standard_layout<iso_week::year_lastweek_weekday>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::year_lastweek_weekday>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::year_lastweek_weekday,
|
static_assert( std::is_nothrow_constructible<iso_week::year_lastweek_weekday,
|
||||||
iso_week::year, iso_week::weekday>{}, "");
|
iso_week::year, iso_week::weekday>{}, "");
|
||||||
|
@ -65,7 +65,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::year_weeknum>{}, "");
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::year_weeknum>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::year_weeknum>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::year_weeknum>{}, "");
|
static_assert(std::is_standard_layout<iso_week::year_weeknum>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::year_weeknum>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::year_weeknum,
|
static_assert( std::is_nothrow_constructible<iso_week::year_weeknum,
|
||||||
iso_week::year,
|
iso_week::year,
|
||||||
|
@ -69,7 +69,6 @@ static_assert( std::is_trivially_move_assignable<iso_week::year_weeknum_weekday>
|
|||||||
|
|
||||||
static_assert(std::is_trivially_copyable<iso_week::year_weeknum_weekday>{}, "");
|
static_assert(std::is_trivially_copyable<iso_week::year_weeknum_weekday>{}, "");
|
||||||
static_assert(std::is_standard_layout<iso_week::year_weeknum_weekday>{}, "");
|
static_assert(std::is_standard_layout<iso_week::year_weeknum_weekday>{}, "");
|
||||||
static_assert(std::is_literal_type<iso_week::year_weeknum_weekday>{}, "");
|
|
||||||
|
|
||||||
static_assert( std::is_nothrow_constructible<iso_week::year_weeknum_weekday,
|
static_assert( std::is_nothrow_constructible<iso_week::year_weeknum_weekday,
|
||||||
iso_week::year, iso_week::weeknum,
|
iso_week::year, iso_week::weeknum,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user