forked from boostorg/array
Remove tabs
[SVN r86310]
This commit is contained in:
@ -32,12 +32,11 @@ BOOST_AUTO_TEST_CASE( test_main )
|
|||||||
constexpr int three = arr.at (3);
|
constexpr int three = arr.at (3);
|
||||||
int whatever [ arr.at(4) ];
|
int whatever [ arr.at(4) ];
|
||||||
(void)three;
|
(void)three;
|
||||||
(void) whatever;
|
(void) whatever;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // no constexpr means no constexpr tests!
|
#else // no constexpr means no constexpr tests!
|
||||||
BOOST_AUTO_TEST_CASE( test_main )
|
BOOST_AUTO_TEST_CASE( test_main )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ namespace {
|
|||||||
typedef T arr[5];
|
typedef T arr[5];
|
||||||
test_type test_case; // = { 1, 1, 2, 3, 5 };
|
test_type test_case; // = { 1, 1, 2, 3, 5 };
|
||||||
|
|
||||||
T &aRef = std::get<5> ( test_case ); // should fail to compile
|
T &aRef = std::get<5> ( test_case ); // should fail to compile
|
||||||
BOOST_CHECK ( &*test_case.begin () == &aRef );
|
BOOST_CHECK ( &*test_case.begin () == &aRef );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -44,7 +44,6 @@ BOOST_AUTO_TEST_CASE( test_main )
|
|||||||
RunStdTests< long double >();
|
RunStdTests< long double >();
|
||||||
RunStdTests< std::string >();
|
RunStdTests< std::string >();
|
||||||
#else
|
#else
|
||||||
BOOST_STATIC_ASSERT ( false ); // fail on C++03 systems.
|
BOOST_STATIC_ASSERT ( false ); // fail on C++03 systems.
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user