mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-30 02:16:56 +08:00
16 lines
451 B
C++
16 lines
451 B
C++
#include "tz.h"
|
|
#include <type_traits>
|
|
|
|
int
|
|
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>{}, "");
|
|
}
|