forked from boostorg/core
Test std::pmr::string in sv_conversion_test
This commit is contained in:
@ -32,6 +32,17 @@ int main()
|
|||||||
BOOST_TEST_EQ( s1, s2 );
|
BOOST_TEST_EQ( s1, s2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
|
||||||
|
|
||||||
|
{
|
||||||
|
std::pmr::string s1( "123" );
|
||||||
|
std::pmr::string s2 = f( s1 );
|
||||||
|
|
||||||
|
BOOST_TEST_EQ( s1, s2 );
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
|
Reference in New Issue
Block a user