assert((ConvertibleTo<SV>(v[i]) == v[j]) == expected);
assert((v[i] == ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) == v[j]) == expected);
assert((v[i] == std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() == abc0def) == false);
assert((abc0def == abc.data()) == false);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) == abc0def) == false);
assert((abc0def == std::basic_string<CharT, Traits>(abc)) == false);
}
assert((ConvertibleTo<SV>(v[i]) > v[j]) == expected);
assert((v[i] > ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) > v[j]) == expected);
assert((v[i] > std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() > abc0def) == false);
assert((abc0def > abc.data()) == true);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) > abc0def) == false);
assert((abc0def > std::basic_string<CharT, Traits>(abc)) == true);
}
assert((ConvertibleTo<SV>(v[i]) >= v[j]) == expected);
assert((v[i] >= ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) >= v[j]) == expected);
assert((v[i] >= std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() >= abc0def) == false);
assert((abc0def >= abc.data()) == true);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) >= abc0def) == false);
assert((abc0def >= std::basic_string<CharT, Traits>(abc)) == true);
}
assert((ConvertibleTo<SV>(v[i]) < v[j]) == expected);
assert((v[i] < ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) < v[j]) == expected);
assert((v[i] < std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() < abc0def) == true);
assert((abc0def < abc.data()) == false);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) < abc0def) == true);
assert((abc0def < std::basic_string<CharT, Traits>(abc)) == false);
}
assert((ConvertibleTo<SV>(v[i]) <= v[j]) == expected);
assert((v[i] <= ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) <= v[j]) == expected);
assert((v[i] <= std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() <= abc0def) == true);
assert((abc0def <= abc.data()) == false);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) <= abc0def) == true);
assert((abc0def <= std::basic_string<CharT, Traits>(abc)) == false);
}
assert((ConvertibleTo<SV>(v[i]) != v[j]) == expected);
assert((v[i] != ConvertibleTo<SV>(v[j])) == expected);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(v[i]) != v[j]) == expected);
assert((v[i] != std::basic_string<CharT, Traits>(v[j])) == expected);
}
assert((abc.data() != abc0def) == true);
assert((abc0def != abc.data()) == true);
- if (!TEST_IS_CONSTANT_EVALUATED) {
- // TODO FIXME: once P0980 "Making std::string constexpr" is implemented
+ if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
assert((std::basic_string<CharT, Traits>(abc) != abc0def) == true);
assert((abc0def != std::basic_string<CharT, Traits>(abc)) == true);
}