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: [patch] : Improve std::search on v7


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


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