Searched refs:NoThrowMove (Results 1 – 3 of 3) sorted by relevance
165 struct NoThrowMove { in main() struct166 NoThrowMove() noexcept(false) {} in main() argument167 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() function168 NoThrowMove(NoThrowMove &&) noexcept {} in main() argument169 NoThrowMove& operator=(NoThrowMove const&) noexcept { return *this; } in main() argument170 NoThrowMove& operator=(NoThrowMove&&) noexcept { return *this; } in main() argument172 static_assert(std::is_nothrow_move_assignable<optional<NoThrowMove>>::value, ""); in main()
44 struct NoThrowMove { struct45 NoThrowMove(const NoThrowMove &);46 NoThrowMove(NoThrowMove &&) noexcept;47 NoThrowMove &operator=(const NoThrowMove &) const;48 NoThrowMove &operator=(NoThrowMove &&) const noexcept;55 const NoThrowMove a;
191 struct NoThrowMove { in main() struct192 NoThrowMove() noexcept(false) {} in main() function193 NoThrowMove(NoThrowMove const&) noexcept(false) {} in main() function194 NoThrowMove(NoThrowMove &&) noexcept(true) {} in main() argument196 static_assert(std::is_nothrow_move_constructible<optional<NoThrowMove>>::value, ""); in main()