Better comment for implicit conversion example

This commit is contained in:
Andrew Pardoe 2016-07-11 13:36:03 -07:00
parent c9bd992a92
commit c2f54b5ed1

View File

@ -15422,7 +15422,7 @@ Pointers should not be used as arrays. `span` is a bounds-checked, safe alternat
span<int> av = a;
g(av.data(), av.length()); // OK, if you have no choice
g1(a); // OK -- no decay here, instead use implicit span ctor
g1(a); // OK -- no decay here, instead use implicit span ctor from n-dimensions static array
}
##### Enforcement