1
0
forked from boostorg/core

Test std::pmr::string in sv_conversion_test

This commit is contained in:
Peter Dimov
2021-10-09 19:52:10 +03:00
parent 88eee0c628
commit 903d44c0c5

View File

@ -32,6 +32,17 @@ int main()
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
return boost::report_errors();