forked from boostorg/config
Merge pull request #461 from boostorg/issue460
Fix some C++23 testing issues:
This commit is contained in:
@@ -99,8 +99,11 @@ int test()
|
|||||||
using std::remove_all_extents;
|
using std::remove_all_extents;
|
||||||
using std::remove_pointer;
|
using std::remove_pointer;
|
||||||
using std::add_pointer;
|
using std::add_pointer;
|
||||||
|
#if !((__cplusplus > 202002L) || (defined(_MSVC_LANG) && (_MSVC_LANG > 202002L)))
|
||||||
|
// deprecated in C++23:
|
||||||
using std::aligned_storage;
|
using std::aligned_storage;
|
||||||
using std::aligned_union;
|
using std::aligned_union;
|
||||||
|
#endif
|
||||||
using std::decay;
|
using std::decay;
|
||||||
using std::enable_if;
|
using std::enable_if;
|
||||||
using std::conditional;
|
using std::conditional;
|
||||||
|
@@ -34,7 +34,7 @@ struct IdString
|
|||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
int identifier;
|
int identifier;
|
||||||
bool operator == (const IdString& other)
|
bool operator == (const IdString& other)const
|
||||||
{
|
{
|
||||||
return identifier == other.identifier && name == other.name;
|
return identifier == other.identifier && name == other.name;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user