forked from HowardHinnant/date
Create local and system time types for timezone functions.
* Add sys_time. * Add sys_days. * Add sys_seconds. * Add local_time. * Add local_days. * Add local_seconds. * Rename day_point to sys_days. * Rename Zone to time_zone.
This commit is contained in:
@@ -6,10 +6,10 @@ main()
|
||||
{
|
||||
using namespace std;
|
||||
using namespace date;
|
||||
static_assert( is_nothrow_destructible<Zone>{}, "");
|
||||
static_assert(!is_default_constructible<Zone>{}, "");
|
||||
static_assert(!is_copy_constructible<Zone>{}, "");
|
||||
static_assert(!is_copy_assignable<Zone>{}, "");
|
||||
static_assert( is_nothrow_move_constructible<Zone>{}, "");
|
||||
static_assert( is_nothrow_move_assignable<Zone>{}, "");
|
||||
static_assert( is_nothrow_destructible<time_zone>{}, "");
|
||||
static_assert(!is_default_constructible<time_zone>{}, "");
|
||||
static_assert(!is_copy_constructible<time_zone>{}, "");
|
||||
static_assert(!is_copy_assignable<time_zone>{}, "");
|
||||
static_assert( is_nothrow_move_constructible<time_zone>{}, "");
|
||||
static_assert( is_nothrow_move_assignable<time_zone>{}, "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user