Remove std::is_literal_type from tests.

* It was deprecated in C++17 and removed in C++20
This commit is contained in:
Howard Hinnant 2023-12-19 10:16:52 -05:00
parent 5d225951ff
commit 88a3b15126
9 changed files with 0 additions and 9 deletions

View File

@ -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_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,
iso_week::weekday>{}, "");

View File

@ -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_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, iso_week::sys_days>{}, "");

View File

@ -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_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_convertible<unsigned, iso_week::weeknum>{}, "");

View File

@ -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_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,
iso_week::weeknum,

View File

@ -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_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_convertible<int, iso_week::year>{}, "");

View File

@ -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_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,
iso_week::year>{}, "");

View File

@ -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_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,
iso_week::year, iso_week::weekday>{}, "");

View File

@ -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_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,
iso_week::year,

View File

@ -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_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,
iso_week::year, iso_week::weeknum,