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


chris jefferson <caj@cs.york.ac.uk> writes:

| This is quite a simple patch that does a few things.
| 
| 1) Adds a new version of a more generic bind2nd to predefined_ops.h
| (if anyone has the old copy, it should be dumped and the file replaced
| with a clean CVS version, then this patch applied.
| 
| This uses the "Empty Base Optimization" to avoid PR20408, but even if


I think we have already proven in the past that non-careful uses of
EBO change program semantics.  Think of a function object with virtual
operator(). 

-- Gaby


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