File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -574,9 +574,8 @@ public:
574
574
__parent_ = std::__static_fancy_pointer_cast<__end_node_pointer>(__p);
575
575
}
576
576
577
- // template <typename... Args> constexpr __tree_node_base(Args && ... args) =default;
578
- _LIBCPP_HIDE_FROM_ABI __tree_node_base () = default;
579
- _LIBCPP_HIDE_FROM_ABI ~__tree_node_base () = default ;
577
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node_base () = default;
578
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 ~__tree_node_base () = default ;
580
579
__tree_node_base (__tree_node_base const &) = delete ;
581
580
__tree_node_base& operator =(__tree_node_base const &) = delete ;
582
581
};
@@ -593,8 +592,6 @@ public:
593
592
template <class ... _Args>
594
593
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node (_Args&&... __args)
595
594
: __value_(std::forward<_Args>(__args)...) {}
596
- // TODO: libcxx26
597
- // _LIBCPP_CONSTEXPR_SINCE_CXX26 __tree_node(__node_value_type && args): __value_{args} { }
598
595
~__tree_node () = delete ;
599
596
__tree_node (__tree_node const &) = delete ;
600
597
__tree_node& operator =(__tree_node const &) = delete ;
@@ -859,6 +856,8 @@ public:
859
856
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __node_allocator& __node_alloc () _NOEXCEPT {
860
857
return __node_alloc_;
861
858
}
859
+ private:
860
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const __node_allocator& __node_alloc () const _NOEXCEPT { return __node_alloc_; }
862
861
863
862
public:
864
863
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 allocator_type __alloc () const _NOEXCEPT {
You can’t perform that action at this time.
0 commit comments