diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index bb95a53..86c79d2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -18881,6 +18881,12 @@ Doing so takes away an `#include`r's ability to effectively disambiguate and to copy(/*...*/); // now overloads local ::copy and std::copy, could be ambiguous } +##### Note + +An exception is `using namespace std::literals;`. This is necessary to use string literals +in header files and given [the rules](http://eel.is/c++draft/over.literal) - users are required +to name their own UDLs `operator""_x` - they will not collide with the standard library. + ##### Enforcement Flag `using namespace` at global scope in a header file. diff --git a/scripts/hunspell/isocpp.dic b/scripts/hunspell/isocpp.dic index 29bec28..f5a9c18 100644 --- a/scripts/hunspell/isocpp.dic +++ b/scripts/hunspell/isocpp.dic @@ -578,6 +578,7 @@ typesafe UB u1 u2 +UDLs unaliased uncompromised underuse