Boost logo

Boost :

Subject: Re: [boost] [config] 'requres' doesn't take differing -std into account
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-06-21 21:09:35


On 21 Jun 2015 at 17:19, Peter Dimov wrote:

> run test.cpp : : : [ requires cxx11_variadic_templates
> cxx11_template_aliases cxx11_hdr_type_traits cxx11_hdr_tuple ] ;

Firstly, many thanks for this tip. I had no idea that Boost.Build
could be told that a library requires certain C++ features. AFIO now
uses that facility, and that let me clean out some cruft. Thank you.

I do wish to reiterate my desire for a std=98|03|11|14|1z parameter
for ./b2. I think users get confused - as you can see on
stackoverflow - on how to build Boost for C++ 11 or 14 or 1z. A
simple

./b2 toolset=clang std=14

... I think is clear and obvious and memorable.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



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