OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MoveOnlyNT
(Results
1 - 4
of
4
) sorted by null
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
move.pass.cpp
50
struct
MoveOnlyNT
{
52
MoveOnlyNT
(int v) : value(v) {}
53
MoveOnlyNT
(const
MoveOnlyNT
&) = delete;
54
MoveOnlyNT
(
MoveOnlyNT
&&other) : value(other.value) { other.value = -1; }
123
using V = std::variant<int,
MoveOnlyNT
>;
142
using V = std::variant<int,
MoveOnlyNT
>;
203
std::variant<
MoveOnlyNT
> v(std::in_place_index<0>, 42);
205
std::variant<
MoveOnlyNT
> v2(std::move(v))
[
all
...]
copy.pass.cpp
50
struct
MoveOnlyNT
{
51
MoveOnlyNT
(const
MoveOnlyNT
&) = delete;
52
MoveOnlyNT
(
MoveOnlyNT
&&) {}
125
using V = std::variant<int,
MoveOnlyNT
>;
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
move.pass.cpp
60
struct
MoveOnlyNT
{
61
MoveOnlyNT
(const
MoveOnlyNT
&) = delete;
62
MoveOnlyNT
(
MoveOnlyNT
&&) {}
63
MoveOnlyNT
&operator=(const
MoveOnlyNT
&) = delete;
64
MoveOnlyNT
&operator=(
MoveOnlyNT
&&) = default;
172
using V = std::variant<
MoveOnlyNT
>;
[
all
...]
copy.pass.cpp
56
struct
MoveOnlyNT
{
57
MoveOnlyNT
(const
MoveOnlyNT
&) = delete;
58
MoveOnlyNT
(
MoveOnlyNT
&&) {}
59
MoveOnlyNT
&operator=(const
MoveOnlyNT
&) = default;
239
using V = std::variant<int,
MoveOnlyNT
>;
Completed in 821 milliseconds