Home
last modified time | relevance | path

Searched refs:TCopy (Results 1 – 1 of 1) sorted by relevance

/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dcopy.pass.cpp65 struct TCopy { struct
66 constexpr TCopy(int v) : value(v) {} in TCopy() argument
67 TCopy(TCopy const &) = default;
68 TCopy(TCopy &&) = delete;
72 static_assert(std::is_trivially_copy_constructible<TCopy>::value, ""); argument
141 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()