Skip to content

Commit d72cf89

Browse files
add docs
1 parent 8cafae7 commit d72cf89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libcxx/include/__tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,11 @@ private:
12201220

12211221
#if _LIBCPP_STD_VER >= 26
12221222
// TODO: also add SFINAE to prevent move_assign and move_alloc from instantiating this code
1223+
// because of
1224+
/*
1225+
error: no matching constructor for initialization of '__get_node_value_type_t<value_type>' (aka 'std::pair<const MoveOnly, MoveOnly>')
1226+
# | 1225 | __get_node_value_type_t<value_type> __tmp(__rhs.first, __rhs.second);
1227+
*/
12231228
if (__libcpp_is_constant_evaluated()) {
12241229
using __node_value_type = __get_node_value_type_t<value_type>;
12251230
__get_node_value_type_t<value_type> __tmp(__rhs.first, __rhs.second);

0 commit comments

Comments
 (0)