stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: remove_reference
Date Thu, 12 Jun 2008 22:43:52 GMT
 

> -----Original Message-----
> From: Travis Vitek 
> Sent: Thursday, June 12, 2008 4:18 PM
> To: Eric Lemings
> Subject: RE: remove_reference
> 
>  
> 
> >Eric Lemings 
> >
...
> >
> >I think you sorta missed my point.  My point is that if the internal
> >type traits do not provide any real added value, why bother with
> >them?  Say you have an internal class __rw_foo and a public class
> >foo which derives from __rw_foo but is virtual identical, why have
> >__rw_foo at all?  Why not move everything in __rw_foo directly into
> >foo?
> >
> 
> Sorry, I understood what you were getting at, I just didn't 
> come right out and provide the answer you were looking for. 
> Yes, we intend to use traits in the library implementation 
> where we can take advantage of them for performance 
> improvements. The example I provided above is just one of 
> many situations that we may do so.

Performance improvements...such as taking advantage of built-in compiler
type traits?  If that were the case, I could see the rationale for using
internal type traits as a proxy for such optimization.  So I guess there
is SOME value after all.  :)

Brad.

Mime
View raw message