This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Tue, 2006-09-19 at 10:15 +0200, Richard Guenther wrote:
> And I suggest to either warn about or disable c++0x features if
> -std=c++0x is not specified (barring a way to have tr1 use c++0x
> features even if not
> in c++0x mode).

Calling the extension -std=c++0x is probably a wrong choice as it seems
to make some promise... It is better probably to explicitly state the
fact that the thing is experimental (whatever are the other measures
taken to not over-expose users to the new stuff)...

-std=c++-experimental or -std=c++-experimental-0x

Another way of giving the code some test is to find a way to enable it
only for the purpose of libstdc++. As it has been mentionned, this
feature simplifies a lot at least the tuple implementation (and I think
I remember that nothing constrains the library to be implemented in
"standard c++").

So if the implementation is not too intrusive, if it helps having a
better library,...

That being said, I'd love to play with variadic templates as a simple
user... and probably will do it !!!




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]