We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd92829 commit 6c238cdCopy full SHA for 6c238cd
src/util/structured_data.cpp
@@ -17,9 +17,7 @@ labelt::labelt(std::vector<std::string> components) : components(components)
17
PRECONDITION(std::all_of(
18
components.begin(), components.end(), [](const std::string &component) {
19
return !component.empty() &&
20
- std::all_of(component.begin(), component.end(), [](const char &c) {
21
- return !(::isalpha(c)) || ::islower(c);
22
- });
+ std::none_of(component.begin(), component.end(), ::isupper);
23
}));
24
}
25
0 commit comments