[patch] : Improve std::search on v7

Gabriel Dos Reis gdr@integrable-solutions.net
Sun Jun 19 15:31:00 GMT 2005


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >I did not mean to sound funny.  I just did get nothing from what you
| >said. But if you think it does not matter I understand what you wanted
| >to say, that is OK.  If you think you can explain, that is OK too.
| >  
| >
| Ok... But please, don't say -nothing-, how this can be ever possible, as
| a serious statement?!?

Because that is true. 

| You said there are problems with virtuals. Ok, let's deal with that in a
| radical way: we check whether the base class at issue, Compare, is
| *really* empty, tr1::is_empty is false in case of virtuals, and only in
| those safe cases, we *derive* from it and exploit EBO.

At this point, I'll wait to see the concrete codes before I do any further
comment. 

-- Gaby



More information about the Libstdc++ mailing list