mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Disable <=> compare code when not C++20
This commit is contained in:
parent
d67a2c63fa
commit
ddcabd6514
@ -1981,6 +1981,7 @@ namespace etl
|
||||
|
||||
namespace private_variant
|
||||
{
|
||||
#if ETL_USING_CPP20 && ETL_USING_STL
|
||||
//***************************************************************************
|
||||
/// C++20 compatible visitor function for testing variant '<=>'.
|
||||
/// Assumes that the two variants are already known to contain the same type.
|
||||
@ -2001,6 +2002,7 @@ namespace etl
|
||||
|
||||
const TVariant& rhs;
|
||||
};
|
||||
#endif
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user