Searched refs:TDtor (Results 1 – 2 of 2) sorted by relevance
41 struct TDtor { struct42 TDtor(const TDtor &) {} // non-trivial copy in TDtor() argument43 ~TDtor() = default;45 static_assert(!std::is_trivially_copy_constructible<TDtor>::value, "");46 static_assert(std::is_trivially_destructible<TDtor>::value, "");50 using V = std::variant<int, long, TDtor>; in main()
40 struct TDtor { struct41 TDtor(const TDtor &) {} // non-trivial copy in TDtor() function42 ~TDtor() = default;44 static_assert(!std::is_trivially_copy_constructible<TDtor>::value, "");45 static_assert(std::is_trivially_destructible<TDtor>::value, "");49 using V = std::variant<int, long, TDtor>; in main()