Pomme/src/Utilities/StringUtils.h

13 lines
261 B
C
Raw Normal View History

2020-11-11 20:06:52 +00:00
#pragma once
#include <string>
2020-12-29 21:39:11 +00:00
#if defined(__cplusplus) && __cplusplus > 201703L && defined(__cpp_lib_char8_t)
2020-11-11 20:06:52 +00:00
typedef std::u8string u8string;
#else
typedef std::string u8string;
2023-09-17 19:26:05 +00:00
typedef char char8_t;
2020-11-11 20:06:52 +00:00
#endif
2023-09-17 19:26:05 +00:00
u8string UppercaseCopy(const u8string&);