Skip to content

Commit 5afe3a4

Browse files
doc-fix
1 parent 99c2829 commit 5afe3a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ class _LIBCPP_STANDALONE_DEBUG __tree_node : public __tree_node_base<_VoidPtr> {
582582
public:
583583
using __node_value_type _LIBCPP_NODEBUG = __get_node_value_type_t<_Tp>;
584584

585-
// We allow starting the lifetime of nodes without initializing the value held by the node,
586-
// since that is handled by the map itself in order to be allocator-aware.
585+
// We use a union to avoid initialization during member initialization, which allows us
586+
// to use the allocator from the container to allocate the node itself
587587
#ifndef _LIBCPP_CXX03_LANG
588588

589589
private:

0 commit comments

Comments
 (0)