|
Boost : |
From: JoaquÃn M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2020-05-16 20:14:00
Em 16 de mai de 2020, Ã (s) 16:44, Alexander Grund via Boost <boost_at_[hidden]> escreveu:
>
> Hello,
>
>
> C++11 has `std::basic_streambuf<char>::swap` and move operators for that defined.
>
> However there are stdlibs which don't support that. clang 5.0 on travis e.g. fails due to that.
>
>
> Is there already something in Boost.Config dealing with that case which I can `requires` on to skip the build for that case?
> Most of the checks I've seen in Boost.Config are using the C++ feature test macros but for this there is none.
>
>
> If it doesn't exist: Would this be something to be added to Boost.Config? Or my local build files?
You can write a snippet that compiles or breaks and make your test conditional on this. Look for âboost_multi_index_key_supportedâ in
https://github.com/boostorg/multi_index/blob/develop/test/Jamfile.v2
JoaquÃn M López Muñoz
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk