Boost logo

Boost :

Subject: [boost] Fwd: Using 'detail' folder from a another Boost library
From: Jean Guegant (jguegant_at_[hidden])
Date: 2017-11-27 19:07:08


Hi everyone,

I am trying to unify the way Boost.Beast and Boost.Asio pick an
implementation of string_view (std::experimental::string_view,
std::string_view). In order to do so, I am including the header
file <boost/asio/detail/string_view.hpp> within
<boost/beast/core/string.hpp> (see PR: https://github.com/boostorg/
beast/pull/910/files). Is that a bad practice to include the a "detail"
folder from another library? If so, what would you recommend to solve my
unification problem?

Sincerely,
Jean


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk