Searched refs:TCopy (Results 1 – 1 of 1) sorted by relevance
58 struct TCopy { struct59 constexpr TCopy(int v) : value(v) {} in TCopy() argument60 TCopy(TCopy const &) = default;61 TCopy(TCopy &&) = delete;65 static_assert(std::is_trivially_copy_constructible<TCopy>::value, ""); argument134 using V = std::variant<int, TCopy>; in test_copy_ctor_sfinae()189 constexpr std::variant<TCopy> v(std::in_place_index<0>, 42); in test_copy_ctor_basic()191 constexpr std::variant<TCopy> v2(v); in test_copy_ctor_basic()196 constexpr std::variant<int, TCopy> v(std::in_place_index<1>, 42); in test_copy_ctor_basic()198 constexpr std::variant<int, TCopy> v2(v); in test_copy_ctor_basic()