Boost logo

Boost :

From: Joaquín M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2020-05-15 21:23:38


Em 15 de mai de 2020, à(s) 19:03, Alexander Grund via Boost <boost_at_[hidden]> escreveu:
>
> Hello,
>
> I'm trying to specify that my library uses C++11 (features) and cannot be compiled or used without.
>
> Using `[ requires cxx11_defaulted_functions]` as the project "requirements" does work (lib not build), but e.g. the tests are still build and obviously failing.

Not sure if this what you want, but here’s an example
of a test suite that skips tests if in pre-C++11:

https://github.com/boostorg/poly_collection/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