We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c2829 commit 5afe3a4Copy full SHA for 5afe3a4
libcxx/include/__tree
@@ -582,8 +582,8 @@ class _LIBCPP_STANDALONE_DEBUG __tree_node : public __tree_node_base<_VoidPtr> {
582
public:
583
using __node_value_type _LIBCPP_NODEBUG = __get_node_value_type_t<_Tp>;
584
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.
+// We use a union to avoid initialization during member initialization, which allows us
+// to use the allocator from the container to allocate the node itself
587
#ifndef _LIBCPP_CXX03_LANG
588
589
private:
0 commit comments