OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CopyOnly
(Results
1 - 8
of
8
) sorted by null
/external/libcxx/test/std/utilities/utility/utility.swap/
swap.pass.cpp
24
struct
CopyOnly
{
25
CopyOnly
() {}
26
CopyOnly
(
CopyOnly
const&) noexcept {}
27
CopyOnly
& operator=(
CopyOnly
const&) { return *this; }
88
static_assert(can_swap<
CopyOnly
&>(), "");
95
CopyOnly
c;
swap_array.pass.cpp
25
struct
CopyOnly
{
26
CopyOnly
() {}
27
CopyOnly
(
CopyOnly
const&) noexcept {}
28
CopyOnly
& operator=(
CopyOnly
const&) { return *this; }
88
using CA =
CopyOnly
[42];
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/utility.swap/
swap.pass.cpp
24
struct
CopyOnly
{
25
CopyOnly
() {}
26
CopyOnly
(
CopyOnly
const&) noexcept {}
27
CopyOnly
& operator=(
CopyOnly
const&) { return *this; }
88
static_assert(can_swap<
CopyOnly
&>(), "");
95
CopyOnly
c;
swap_array.pass.cpp
25
struct
CopyOnly
{
26
CopyOnly
() {}
27
CopyOnly
(
CopyOnly
const&) noexcept {}
28
CopyOnly
& operator=(
CopyOnly
const&) { return *this; }
88
using CA =
CopyOnly
[42];
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
move.pass.cpp
33
struct
CopyOnly
{
34
CopyOnly
(const
CopyOnly
&) = default;
35
CopyOnly
(
CopyOnly
&&) = delete;
36
CopyOnly
&operator=(const
CopyOnly
&) = default;
37
CopyOnly
&operator=(
CopyOnly
&&) = delete;
122
using V = std::variant<int,
CopyOnly
>;
[
all
...]
copy.pass.cpp
36
struct
CopyOnly
{
37
CopyOnly
(const
CopyOnly
&) = default;
38
CopyOnly
(
CopyOnly
&&) = delete;
39
CopyOnly
&operator=(const
CopyOnly
&) = default;
40
CopyOnly
&operator=(
CopyOnly
&&) = delete;
169
using V = std::variant<int,
CopyOnly
>;
[
all
...]
/external/clang/test/CXX/special/class.copy/
p11.0x.move.cpp
143
struct
CopyOnly
{
144
CopyOnly
(const
CopyOnly
&);
148
CopyOnly
CO;
implicit-move.cpp
227
struct
CopyOnly
{
228
CopyOnly
(const
CopyOnly
&);
229
CopyOnly
&operator=(const
CopyOnly
&);
235
template void test(
CopyOnly
); // ok, copies
238
CopyOnly
co;
Completed in 138 milliseconds