Searched refs:__copyable_box (Results 1 – 14 of 14) sorted by relevance
43 class __copyable_box {61 _LIBCPP_HIDE_FROM_ABI __copyable_box(__copyable_box const&) = default;62 _LIBCPP_HIDE_FROM_ABI __copyable_box(__copyable_box&&) = default;65 constexpr __copyable_box& operator=(__copyable_box const& __other)76 __copyable_box& operator=(__copyable_box&&) requires movable<_Tp> = default;79 constexpr __copyable_box& operator=(__copyable_box&& __other)118 class __copyable_box<_Tp> {136 _LIBCPP_HIDE_FROM_ABI __copyable_box(__copyable_box const&) = default;137 _LIBCPP_HIDE_FROM_ABI __copyable_box(__copyable_box&&) = default;145 constexpr __copyable_box& operator=(__copyable_box const& __other) noexcept {[all …]
34 __copyable_box<_Tp> __value_;
49 _LIBCPP_NO_UNIQUE_ADDRESS __copyable_box<_Pred> __pred_;
64 _LIBCPP_NO_UNIQUE_ADDRESS __copyable_box<_Fn> __func_;
22 typename std::ranges::__copyable_box<T>;38 static_assert(sizeof(std::ranges::__copyable_box<CopyConstructible>) == sizeof(std::optional<CopyCo…41 static_assert(sizeof(std::ranges::__copyable_box<Copyable>) == sizeof(Copyable));42 static_assert(alignof(std::ranges::__copyable_box<Copyable>) == alignof(Copyable));45 static_assert(sizeof(std::ranges::__copyable_box<NothrowCopyConstructible>) == sizeof(NothrowCopyCo…46 static_assert(alignof(std::ranges::__copyable_box<NothrowCopyConstructible>) == alignof(NothrowCopy…
33 using Box = std::ranges::__copyable_box<CopyConstructible>; in test()42 using Box = std::ranges::__copyable_box<Copyable>; in test()51 using Box = std::ranges::__copyable_box<NothrowCopyConstructible>; in test()58 …static_assert( std::is_nothrow_constructible_v<std::ranges::__copyable_box<NothrowConstructible<tr… in test()59 …static_assert(!std::is_nothrow_constructible_v<std::ranges::__copyable_box<NothrowConstructible<fa… in test()
28 using Box = std::ranges::__copyable_box<CopyConstructible>; in test()55 using Box = std::ranges::__copyable_box<CopyConstructibleMovable>; in test()84 using Box = std::ranges::__copyable_box<Copyable>; in test()113 using Box = std::ranges::__copyable_box<MovableNothrowCopyConstructible>; in test()142 using Box = std::ranges::__copyable_box<NothrowCopyConstructible>; in test()174 using Box = std::ranges::__copyable_box<ThrowsOnCopy>; in test_empty_state()
28 using Box = std::ranges::__copyable_box<CopyConstructible>; in test()55 using Box = std::ranges::__copyable_box<Copyable>; in test()84 using Box = std::ranges::__copyable_box<NothrowCopyConstructible>; in test()116 using Box = std::ranges::__copyable_box<ThrowsOnCopy>; in test_empty_state()
24 std::ranges::__copyable_box<T> const x(std::in_place, 10); in check()43 std::ranges::__copyable_box<ThrowsOnCopy> x = create_empty_box(); in main()
27 std::ranges::__copyable_box<T> x(std::in_place, 10); in check()35 std::ranges::__copyable_box<T> const x(std::in_place, 10); in check()
27 std::ranges::__copyable_box<T> x(std::in_place, 10); in check()36 std::ranges::__copyable_box<T> const x(std::in_place, 10); in check()
145 inline std::ranges::__copyable_box<ThrowsOnCopy> create_empty_box() { in create_empty_box()146 std::ranges::__copyable_box<ThrowsOnCopy> box1; in create_empty_box()147 std::ranges::__copyable_box<ThrowsOnCopy> box2(std::in_place, THROW_WHEN_COPIED_FROM); in create_empty_box()
30 using Box = std::ranges::__copyable_box<Empty>;
23 using Box = std::ranges::__copyable_box<T>;