Disable <=> compare code when not C++20

This commit is contained in:
John Wellbelove 2024-04-09 14:46:51 +01:00
parent d67a2c63fa
commit ddcabd6514

View File

@ -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
}
//***************************************************************************