C++ PATCH: PR 20599 (1/3)

Howard Hinnant hhinnant@apple.com
Mon Sep 25 17:59:00 GMT 2006


On Sep 25, 2006, at 1:44 PM, Doug Gregor wrote:

> On Sep 25, 2006, at 9:58 AM, Howard Hinnant wrote:
>> I would prefer something more like:
>>
>> g++ my_source.cpp -enable_rvalue_refs -enable_variadic_templates - 
>> enable_static_assert -lboost -lAcme
>
> Whereas I would prefer, e.g.,
>
> 	g++ -std=c++0x -lboost -lAcme

<nod> No arguments here.

A compromise might be to have the individual commands, plus the all- 
in-one to easily collect them.  But if I had to choose just one way  
or the other, I'd choose the all-in-one too (spelled c++0X, c+ 
+experimental, or whatever).

> If we have one flag, the variance in features from version to  
> version will be queried through feature-test macros (supplied by  
> the compiler).

Yup.

-Howard



More information about the Gcc-patches mailing list