This is the mail archive of the gcc-bugs@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]

[Bug c++/26099] support for type traits is not available



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-04 23:22 -------
(In reply to comment #2)
> When I saw "tr1" in the path, I assumed this referred to the technical report
> of the standards committee.  I recognize a technical report is not a standard,
> thus I am simply inquiring if there is interest in adding this feature.  

Yes TR1 refers to the technical report which is really just the library part.

The interest should really go to the committe than one implementation.  Now GCC
can add this as an extensions and that can help the discussion/decision to add
it to the standard.  But GCC's view of extensions have changed over the years
and right now it is that extensions are bad and should be avoided.

I am not saying this is not useful after your description of how to speed up
some containers.  
Now the book keeping is not that expensive as it is just an extra bool for each
slot and you can hide most of the book keeping in a secondary class.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26099


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