mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-29 10:05:49 +08:00
1e5d2fa8dd
* 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.
16 lines
481 B
C++
16 lines
481 B
C++
#include "tz.h"
|
|
#include <type_traits>
|
|
|
|
int
|
|
main()
|
|
{
|
|
using namespace std;
|
|
using namespace date;
|
|
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>{}, "");
|
|
}
|