Removed BOOST_BEAST_USE_STD_STRING_VIEW (#2451)

Fixes #2363
This commit is contained in:
sehe authored and GitHub committed 2022-10-03 13:29:21 +08:00
1 parent 12c2d14ebc
commit 7300ef463b
8 files changed
+24 -35

No files matched your search

-8
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
+1
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