[patch] : Improve std::search on v7

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


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



More information about the Gcc-patches mailing list