Searched refs:MoveOnlyNT (Results 1 - 4 of 4) sorted by relevance

/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp41 struct MoveOnlyNT { struct
43 MoveOnlyNT(int v) : value(v) {} function in struct:MoveOnlyNT
44 MoveOnlyNT(const MoveOnlyNT &) = delete;
45 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } function in struct:MoveOnlyNT
86 using V = std::variant<int, MoveOnlyNT>;
105 using V = std::variant<int, MoveOnlyNT>;
142 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42);
144 std::variant<MoveOnlyNT> v
[all...]
H A Dcopy.pass.cpp41 struct MoveOnlyNT { struct
42 MoveOnlyNT(const MoveOnlyNT &) = delete;
43 MoveOnlyNT(MoveOnlyNT &&) {} function in struct:MoveOnlyNT
88 using V = std::variant<int, MoveOnlyNT>;
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp47 struct MoveOnlyNT { struct
48 MoveOnlyNT(const MoveOnlyNT &) = delete;
49 MoveOnlyNT(MoveOnlyNT &&) {} function in struct:MoveOnlyNT
50 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
51 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
105 using V = std::variant<MoveOnlyNT>;
[all...]
H A Dcopy.pass.cpp49 struct MoveOnlyNT { struct
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&) {} function in struct:MoveOnlyNT
52 MoveOnlyNT &operator=(const MoveOnlyNT &) = default;
181 using V = std::variant<int, MoveOnlyNT>;

Completed in 118 milliseconds