mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-08 12:19:21 +01:00
enh(cmake): Add option POCO_ENABLE_CPP20 to enable C++20 when compiling Poco (#4956)
* enh(cmake): Add option POCO_CXX20 to enable standard C++20 and related changes. * chore(cmake): do not allow C++20 setting for compilers that do not support it properly. * fix(NetSSL_Win): indentation.
This commit is contained in:
@@ -260,12 +260,6 @@ struct UTF32CharTraits
|
||||
};
|
||||
|
||||
|
||||
//#if defined(POCO_ENABLE_CPP11) //TODO
|
||||
// using char16_t UTF16Char;
|
||||
// using std::u16string UTF16String;
|
||||
// using char32_t UTF32Char;
|
||||
// using std::u32string UTF32String;
|
||||
//#else
|
||||
#ifdef POCO_NO_WSTRING
|
||||
using UTF16Char = Poco::UInt16;
|
||||
using UTF16String = std::basic_string<UTF16Char, UTF16CharTraits>;
|
||||
@@ -301,7 +295,6 @@ struct UTF32CharTraits
|
||||
#define POCO_USE_STRING16
|
||||
#endif //POCO_OS_FAMILY_WINDOWS
|
||||
#endif //POCO_NO_WSTRING
|
||||
//#endif // POCO_ENABLE_CPP11
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
Reference in New Issue
Block a user