Searched refs:TCopy (Results 1 – 1 of 1) sorted by relevance
65 struct TCopy { struct66 constexpr TCopy(int v) : value(v) {} in TCopy() argument67 TCopy(TCopy const &) = default;68 TCopy(TCopy &&) = delete;72 static_assert(std::is_trivially_copy_constructible<TCopy>::value, ""); argument141 using V = std::variant<int, TCopy>; in test_copy_ctor_sfinae()196 constexpr std::variant<TCopy> v(std::in_place_index<0>, 42); in test_copy_ctor_basic()198 constexpr std::variant<TCopy> v2(v); in test_copy_ctor_basic()203 constexpr std::variant<int, TCopy> v(std::in_place_index<1>, 42); in test_copy_ctor_basic()205 constexpr std::variant<int, TCopy> v2(v); in test_copy_ctor_basic()