Removed instances of ETL_NTH_TYPE_FORCE_CPP03_IMPLEMENTATION

This commit is contained in:
John Wellbelove 2025-06-06 13:53:26 +01:00
parent 3e9f4a99ed
commit 2ff1ed1a12
2 changed files with 0 additions and 7 deletions

View File

@ -103,7 +103,6 @@ SOFTWARE.
#define ETL_FLAT_SET_FORCE_CPP03_IMPLEMENTATION
#define ETL_FLAT_MULTISET_FORCE_CPP03_IMPLEMENTATION
#define ETL_VARIANT_POOL_FORCE_CPP03_IMPLEMENTATION
#define ETL_NTH_TYPE_FORCE_CPP03_IMPLEMENTATION
#endif
#if defined(ETL_FORCE_TEST_CPP11)

View File

@ -38,15 +38,9 @@ namespace
//*************************************************************************
TEST(test_nth_type)
{
#if defined(ETL_NTH_TYPE_FORCE_CPP03_IMPLEMENTATION)
CHECK((std::is_same<etl::nth_type<0, int, long, double>::type, int>::value));
CHECK((std::is_same<etl::nth_type<1, int, long, double>::type, long>::value));
CHECK((std::is_same<etl::nth_type<2, int, long, double>::type, double>::value));
#else
CHECK((std::is_same<etl::nth_type_t<0, int, long, double>, int>::value));
CHECK((std::is_same<etl::nth_type_t<1, int, long, double>, long>::value));
CHECK((std::is_same<etl::nth_type_t<2, int, long, double>, double>::value));
#endif
}
}
}