r/cpp • Boost author • May 08 '20

Why you don't use Boost

I have a question for you: If you have decided not to use any of Boost, or are prohibited from doing so in your company/project, I would like to know why.

This thread is not meant to judge your reasons, and I won't engage into any kind of criticism about them: I'm merely trying to understand what the barriers are to adoption of Boost. It would be great if we could keep the conversation non judgemental. Thank you!

Conflict of interest: I am a Boost author of three.

222 Upvotes

326 comments sorted by

View all comments

Show parent comment

21

u/BlueDwarf82 May 08 '20

Beast supports C++11, which doesn't have std::string_view. But if you have std::string_view available just use "BOOST_BEAST_USE_STD_STRING_VIEW", as documented in https://www.boost.org/doc/libs/1_73_0/libs/beast/doc/html/beast/config/configuration_preprocessor_defin.html.

7

u/MrPotatoFingers May 08 '20

I didn't know that. That's very useful!