Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp36 struct NoexceptMoveOnly { struct
37 NoexceptMoveOnly() {} in NoexceptMoveOnly() argument
38 NoexceptMoveOnly(NoexceptMoveOnly&&) noexcept {} in NoexceptMoveOnly() function
39 NoexceptMoveOnly& operator=(NoexceptMoveOnly&&) noexcept { return *this; } in operator =() argument
90 static_assert(can_swap<NoexceptMoveOnly&>(), ""); in main()
97 NoexceptMoveOnly nm; in main()
Dswap_array.pass.cpp32 struct NoexceptMoveOnly { struct
33 NoexceptMoveOnly() {} in NoexceptMoveOnly() argument
34 NoexceptMoveOnly(NoexceptMoveOnly&&) noexcept {} in NoexceptMoveOnly() function
35 NoexceptMoveOnly& operator=(NoexceptMoveOnly&&) noexcept { return *this; } in operator =() argument
89 using MA = NoexceptMoveOnly[42]; in main()
/external/llvm-project/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp35 struct NoexceptMoveOnly { struct
36 NoexceptMoveOnly() {} in NoexceptMoveOnly() function
37 NoexceptMoveOnly(NoexceptMoveOnly&&) noexcept {} in NoexceptMoveOnly() function
38 NoexceptMoveOnly& operator=(NoexceptMoveOnly&&) noexcept { return *this; } in operator =() argument
99 static_assert(can_swap<NoexceptMoveOnly&>(), ""); in main()
106 NoexceptMoveOnly nm; in main()
Dswap_array.pass.cpp31 struct NoexceptMoveOnly { struct
32 NoexceptMoveOnly() {} in NoexceptMoveOnly() function
33 NoexceptMoveOnly(NoexceptMoveOnly&&) noexcept {} in NoexceptMoveOnly() function
34 NoexceptMoveOnly& operator=(NoexceptMoveOnly&&) noexcept { return *this; } in operator =() argument
102 using MA = NoexceptMoveOnly[42]; in main()