22 #ifndef GEARS_STRING_CASE_HPP
23 #define GEARS_STRING_CASE_HPP
26 #include "../meta/alias.hpp"
39 template<
typename String>
42 c = std::tolower(c, loc);
56 template<
typename String>
59 c = std::toupper(c, loc);
73 template<
typename String>
74 inline bool is_all_lower(
const String& str,
const std::locale& loc = std::locale()) {
76 if(c != std::tolower(c, loc))
91 template<
typename String>
92 inline bool is_all_upper(
const String& str,
const std::locale& loc = std::locale()) {
94 if(c != std::toupper(c, loc))
102 #endif // GEARS_STRING_CASE_HPP