19#include <boost/test/unit_test.hpp>
24template <
typename T,
typename U>
27 return os <<
'(' <<
p.first <<
',' <<
p.second <<
')';
42 const string_view
a{
s};
43 const string_view
b{
a};
46 const void*
aptr =
a.data();
47 const void*
bptr =
b.data();
120 constexpr char ZeroPad[] =
"foo";
313 constexpr char ZeroPad[4] = {
'\0',
'f',
'o',
'o'};
318 constexpr char SpacePad[4] = {
' ',
'f',
'o',
'o'};
438 std::filesystem::path(
"/toolbox"));
440 == std::filesystem::path(
"/toolbox"));
BOOST_CHECK_EQUAL(v.size(), 10U)
BOOST_AUTO_TEST_CASE(StringViewCase)
ostream & operator<<(ostream &os, const pair< T, U > &p)
BOOST_CHECK(isnan(stod(""sv, numeric_limits< double >::quiet_NaN())))