Update string_view.qbk

This commit is contained in:
Peter Dimov committed 2021-10-10 01:46:32 +03:00
1 parent 038064e824
commit 7340f123fe
3 files changed
+467 -29

No files matched your search

+2 -2
View File
@@ -600,7 +600,7 @@ public:
return !empty() && front() == x;
}
BOOST_CONSTEXPR bool starts_with( Ch const* x ) const
BOOST_CONSTEXPR bool starts_with( Ch const* x ) const BOOST_NOEXCEPT
{
return starts_with( basic_string_view( x ) );
}
@@ -617,7 +617,7 @@ public:
return !empty() && back() == x;
}
BOOST_CONSTEXPR bool ends_with( Ch const* x ) const
BOOST_CONSTEXPR bool ends_with( Ch const* x ) const BOOST_NOEXCEPT
{
return ends_with( basic_string_view( x ) );
}