SL_3 'Do not add non-standard entities to namespace `std`' add example (#2031)

* SL_3 add example

* Update isocpp.dic

add My_Vector
pull/2065/head
bgloyer 3 years ago committed by GitHub
parent 6a0b5e6eca
commit 0d70ae927d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19754,7 +19754,17 @@ Additions to `std` might clash with future versions of the standard.
##### Example
???
namespace std { // BAD: violates standard
class My_vector {
// . . .
};
}
namespace Foo { // GOOD: user namespace is allowed
class My_vector {
// . . .
};
}
##### Enforcement

@ -347,6 +347,7 @@ Murray93
mutex
mutexes
mx
My_vector
MyCustomError
MyException
myMap

Loading…
Cancel
Save