Skip to content

Commit c2f54b5

Browse files
author
Andrew Pardoe
committed
Better comment for implicit conversion example
1 parent c9bd992 commit c2f54b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15422,7 +15422,7 @@ Pointers should not be used as arrays. `span` is a bounds-checked, safe alternat
1542215422
span<int> av = a;
1542315423

1542415424
g(av.data(), av.length()); // OK, if you have no choice
15425-
g1(a); // OK -- no decay here, instead use implicit span ctor
15425+
g1(a); // OK -- no decay here, instead use implicit span ctor from n-dimensions static array
1542615426
}
1542715427

1542815428
##### Enforcement

0 commit comments

Comments
 (0)