Searched refs:NonTDtor1 (Results 1 – 1 of 1) sorted by relevance
33 struct NonTDtor1 { struct35 NonTDtor1() = default; argument36 ~NonTDtor1() { ++count; } in ~NonTDtor1() argument38 int NonTDtor1::count = 0;39 static_assert(!std::is_trivially_destructible<NonTDtor1>::value, "");54 using V = std::variant<NonTDtor, int, NonTDtor1>; in main()59 assert(NonTDtor1::count == 0); in main()62 assert(NonTDtor1::count == 0); in main()66 assert(NonTDtor1::count == 0); in main()70 assert(NonTDtor1::count == 0); in main()[all …]