test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2,
typename S::size_type n, S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
void
test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
SV sv, typename S::size_type pos2, typename S::size_type n2,
S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
SV sv, typename S::size_type pos2,
S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
test(const S& s, typename S::size_type pos1, typename S::size_type n1,
SV sv, typename S::size_type pos2, typename S::size_type n2, int x)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
try
{
assert(sign(s.compare(pos1, n1, sv, pos2, n2)) == sign(x));
test_npos(const S& s, typename S::size_type pos1, typename S::size_type n1,
SV sv, typename S::size_type pos2, int x)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
try
{
assert(sign(s.compare(pos1, n1, sv, pos2)) == sign(x));