16 May
2020
16 May
'20
2:45 p.m.
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
Thanks, but I was wondering if I couldn't just depend on the library. I mean with this approach I have to repeat the same conditions in the tests as for the library. But that library isn't even build. So a dependency on the library sounds more reasonable and I thought that something like this must exists already