Removed BOOST_BEAST_USE_STD_STRING_VIEW (#2451)

Fixes #2363
This commit is contained in:
sehe
2022-10-03 07:29:21 +02:00
committed by GitHub
parent 12c2d14ebc
commit 7300ef463b
8 changed files with 24 additions and 35 deletions

View File

@@ -18,14 +18,6 @@ failure to do so may result in violations of ODR (One Definition Rule).
[table Special Fields
[[Definition][Description]]
[
[
BOOST_BEAST_USE_STD_STRING_VIEW
][
Causes Beast to use std::string_view instead of boost::string_view.
Requires C++17.
]
]
[
[
BOOST_BEAST_SEPARATE_COMPILATION

View File

@@ -15,6 +15,7 @@
[*Miscellaneous]
* [issue 2363] Remove `BOOST_BEAST_USE_STD_STRING_VIEW`
* [issue 2417] use boost::core::string_view. This improves inter-conversion between string_view implementations. Some observable differences for users:
* `core::string_view` no longer supports the `.to_string()` or `.clear()` extensions from Utility
* code that relied on `.max_size()` returning `.size(),` needs to be fixed to use `.size()` instead