Searched refs:NonTDtor (Results 1 – 1 of 1) sorted by relevance
25 struct NonTDtor { struct27 NonTDtor() = default; argument28 ~NonTDtor() { ++count; } in ~NonTDtor() argument30 int NonTDtor::count = 0;31 static_assert(!std::is_trivially_destructible<NonTDtor>::value, "");54 using V = std::variant<NonTDtor, int, NonTDtor1>; in main()58 assert(NonTDtor::count == 0); in main()61 assert(NonTDtor::count == 1); in main()63 NonTDtor::count = 0; in main()65 assert(NonTDtor::count == 0); in main()[all …]