Update tests for default constructible calendar types

This commit is contained in:
Howard Hinnant 2016-09-15 20:21:56 -04:00
parent 641cd739c3
commit 3fb4d32922
7 changed files with 7 additions and 7 deletions

View File

@ -60,7 +60,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::day>{}, "");
static_assert(!std::is_default_constructible<date::day>{}, "");
static_assert( std::is_default_constructible<date::day>{}, "");
static_assert( std::is_trivially_copy_constructible<date::day>{}, "");
static_assert( std::is_trivially_copy_assignable<date::day>{}, "");
static_assert( std::is_trivially_move_constructible<date::day>{}, "");

View File

@ -72,7 +72,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::month>{}, "");
static_assert(!std::is_default_constructible<date::month>{}, "");
static_assert( std::is_default_constructible<date::month>{}, "");
static_assert( std::is_trivially_copy_constructible<date::month>{}, "");
static_assert( std::is_trivially_copy_assignable<date::month>{}, "");
static_assert( std::is_trivially_move_constructible<date::month>{}, "");

View File

@ -47,7 +47,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::month_day>{}, "");
static_assert(!std::is_default_constructible<date::month_day>{}, "");
static_assert( std::is_default_constructible<date::month_day>{}, "");
static_assert( std::is_trivially_copy_constructible<date::month_day>{}, "");
static_assert( std::is_trivially_copy_assignable<date::month_day>{}, "");
static_assert( std::is_trivially_move_constructible<date::month_day>{}, "");

View File

@ -69,7 +69,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::weekday>{}, "");
static_assert(!std::is_default_constructible<date::weekday>{}, "");
static_assert( std::is_default_constructible<date::weekday>{}, "");
static_assert( std::is_trivially_copy_constructible<date::weekday>{}, "");
static_assert( std::is_trivially_copy_assignable<date::weekday>{}, "");
static_assert( std::is_trivially_move_constructible<date::weekday>{}, "");

View File

@ -64,7 +64,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::year>{}, "");
static_assert(!std::is_default_constructible<date::year>{}, "");
static_assert( std::is_default_constructible<date::year>{}, "");
static_assert( std::is_trivially_copy_constructible<date::year>{}, "");
static_assert( std::is_trivially_copy_assignable<date::year>{}, "");
static_assert( std::is_trivially_move_constructible<date::year>{}, "");

View File

@ -61,7 +61,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::year_month>{}, "");
static_assert(!std::is_default_constructible<date::year_month>{}, "");
static_assert( std::is_default_constructible<date::year_month>{}, "");
static_assert( std::is_trivially_copy_constructible<date::year_month>{}, "");
static_assert( std::is_trivially_copy_assignable<date::year_month>{}, "");
static_assert( std::is_trivially_move_constructible<date::year_month>{}, "");

View File

@ -64,7 +64,7 @@
#include <type_traits>
static_assert( std::is_trivially_destructible<date::year_month_day>{}, "");
static_assert(!std::is_default_constructible<date::year_month_day>{}, "");
static_assert( std::is_default_constructible<date::year_month_day>{}, "");
static_assert( std::is_trivially_copy_constructible<date::year_month_day>{}, "");
static_assert( std::is_trivially_copy_assignable<date::year_month_day>{}, "");
static_assert( std::is_trivially_move_constructible<date::year_month_day>{}, "");