Deprecate undocumented _u suffix

This commit is contained in:
Victor Zverovich
2020-03-04 19:20:19 -08:00
parent eafd079868
commit 153f753bde
2 changed files with 2 additions and 13 deletions

View File

@@ -566,7 +566,8 @@ class FMT_DEPRECATED u8string_view : public basic_string_view<char8_t> {
#if FMT_USE_USER_DEFINED_LITERALS
inline namespace literals {
inline basic_string_view<char8_t> operator"" _u(const char* s, std::size_t n) {
FMT_DEPRECATED inline basic_string_view<char8_t> operator"" _u(const char* s,
std::size_t n) {
return {reinterpret_cast<const char8_t*>(s), n};
}
} // namespace literals