Check that C++11 is available and remove tests for it
Don't bother checking for various C++11 features that are available in all C++11 compilers. Also assume that std::exception_ptr is available in all still supported MinGW versions and remove checks for it too (see #16634). Further simplifications remain possible, this is just the first step.
This commit is contained in:
parent
73869d37fd
commit
6bbfdb157e
15 changed files with 45 additions and 420 deletions
|
|
@ -4176,8 +4176,6 @@ wxDEFINE_ALL_COMPARISONS(const char *, const wxCStrData&, wxCMP_CHAR_CSTRDATA)
|
|||
// Implement hashing using C++11 std::hash<>.
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if __cplusplus >= 201103L || wxCHECK_VISUALC_VERSION(10)
|
||||
|
||||
// Don't do this if ToStdWstring() is not available. We could work around it
|
||||
// but, presumably, if using std::wstring is undesirable, then so is using
|
||||
// std::hash<> anyhow.
|
||||
|
|
@ -4199,8 +4197,6 @@ namespace std
|
|||
|
||||
#endif // wxUSE_STD_STRING
|
||||
|
||||
#endif // C++11
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Implementation only from here until the end of file
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue