Skip to content

Commit 6cd56ad

Browse files
committed
Fix check for const-default-constructibility
1 parent da54420 commit 6cd56ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp23/default_init.dot.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ subgraph cluster_default_initialization {
3535
{
3636
YN_QUESTION_NODE(default_is_const, "Is T const-qualified?", "[dcl.init.general]/8", default_const_is_class, default_is_class)
3737

38-
YN_QUESTION_NODE(default_const_is_class, "Is T a class type?", "[dcl.init.general]/8", default_const_class_is_cdc, default_const_is_class)
38+
YN_QUESTION_NODE(default_const_is_class, "Is T a class type?", "[dcl.init.general]/8", default_const_class_is_cdc, default_const_is_array)
3939
YN_QUESTION_NODE(default_const_class_is_cdc, "Is T const-default-constructible", "[dcl.init.general]/8", default_is_class, NEW_ILL_FORMED())
4040
REFERENCES_CDC(default_const_class_is_cdc)
4141

42-
YN_QUESTION_NODE(default_const_is_class, "Is T an array type?", "[dcl.init.general]/8", default_const_array_element_is_class, NEW_ILL_FORMED())
42+
YN_QUESTION_NODE(default_const_is_array, "Is T an array type?", "[dcl.init.general]/8", default_const_array_element_is_class, NEW_ILL_FORMED())
4343
YN_QUESTION_NODE(default_const_array_element_is_class, "Is T's element type a class type?", "[dcl.init.general]/8", default_const_array_element_class_is_cdc, NEW_ILL_FORMED())
4444
YN_QUESTION_NODE(default_const_array_element_class_is_cdc, "Is that class type const-default-constructible?", "[dcl.init.general]/8", default_is_class, NEW_ILL_FORMED())
4545
REFERENCES_CDC(default_const_array_element_class_is_cdc)

0 commit comments

Comments
 (0)