mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #644 from cubbimew/fix_travis
Fix Travis CI by reverting "Better comment for implicit conversion example"
This commit is contained in:
commit
34ff2b0193
|
@ -15422,7 +15422,7 @@ Pointers should not be used as arrays. `span` is a bounds-checked, safe alternat
|
||||||
span<int> av = a;
|
span<int> av = a;
|
||||||
|
|
||||||
g(av.data(), av.length()); // OK, if you have no choice
|
g(av.data(), av.length()); // OK, if you have no choice
|
||||||
g1(a); // OK -- no decay here, instead use implicit span ctor from n-dimensions static array
|
g1(a); // OK -- no decay here, instead use implicit span ctor
|
||||||
}
|
}
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
Loading…
Reference in New Issue
Block a user