Home
last modified time | relevance | path

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

/external/clang/test/CXX/except/except.spec/
Dp14.cpp44 struct NoThrowMove { struct
45 NoThrowMove(const NoThrowMove &);
46 NoThrowMove(NoThrowMove &&) noexcept;
47 NoThrowMove &operator=(const NoThrowMove &) const;
48 NoThrowMove &operator=(NoThrowMove &&) const noexcept;
55 const NoThrowMove a;
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp198 struct NoThrowMove { in main() struct
199 NoThrowMove() noexcept(false) {} in main() function
200 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() function
201 NoThrowMove(NoThrowMove &&) noexcept {} in main() function
202 NoThrowMove& operator=(NoThrowMove const&) noexcept { return *this; } in main() argument
203 NoThrowMove& operator=(NoThrowMove&&) noexcept { return *this; } in main() argument
205 static_assert(std::is_nothrow_move_assignable<optional<NoThrowMove>>::value, ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp199 struct NoThrowMove { in main() struct
200 NoThrowMove() noexcept(false) {} in main() argument
201 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() argument
202 NoThrowMove(NoThrowMove &&) noexcept {} in main() argument
203 NoThrowMove& operator=(NoThrowMove const&) noexcept { return *this; } in main() argument
204 NoThrowMove& operator=(NoThrowMove&&) noexcept { return *this; } in main() argument
206 static_assert(std::is_nothrow_move_assignable<optional<NoThrowMove>>::value, ""); in main()
/external/llvm-project/clang/test/CXX/except/except.spec/
Dp14.cpp44 struct NoThrowMove { struct
45 NoThrowMove(const NoThrowMove &);
46 NoThrowMove(NoThrowMove &&) noexcept;
47 NoThrowMove &operator=(const NoThrowMove &) const;
48 NoThrowMove &operator=(NoThrowMove &&) const noexcept;
55 const NoThrowMove a;
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp211 struct NoThrowMove { in main() struct
212 NoThrowMove() noexcept(false) {} in main() function
213 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() function
214 NoThrowMove(NoThrowMove &&) noexcept(true) {} in main() argument
216 static_assert(std::is_nothrow_move_constructible<optional<NoThrowMove>>::value, ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp214 struct NoThrowMove { in main() struct
215 NoThrowMove() noexcept(false) {} in main() argument
216 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() function
217 NoThrowMove(NoThrowMove &&) noexcept(true) {} in main() argument
219 static_assert(std::is_nothrow_move_constructible<optional<NoThrowMove>>::value, ""); in main()