This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: std random


Joe Buck wrote:

>> Independent of the defaults, what do you think about having a way to
>> turn off the library support, even if you have the language support?  Or
>> do we already?  What happens with -std=c++0x -U_GLIBCXX_CPP0X?
> 
> If that worked, I wouldn't care if it people want to try it, but it creates
> something extra to be tested, have bugs, etc.

That's true of all features, but you're right: if nobody needs this
feature, then we needn't bother with it.  It seems useful to me -- but
I'm not a real-world C++ programmer these days, and if I was, I probably
wouldn't be able to take advantage of any features of C++0x.  So, I'm
not really qualified to argue this is an important use case.

If we're not going to support this, I'd argue we ought to affirmatively
prevent it, by issuing an error on something like the above, though.
Maybe a #error directive in the libstdc++ configuration header.  That
still allows me to rip out the #error, if I really want to try, but
makes me aware that the GNU folks consider me to have gone into a
dangerously dark corner.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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