mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Removed instances of ETL_NTH_TYPE_FORCE_CPP03_IMPLEMENTATION
This commit is contained in:
parent
3e9f4a99ed
commit
2ff1ed1a12
@ -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)
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user