This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove algo duplications
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 20 Jun 2012 16:40:35 -0400 (EDT)
- Subject: Re: Remove algo duplications
- References: <4FD7A115.9060203@gmail.com> <4FE0D093.4020100@gmail.com>
- Reply-to: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
On Tue, 19 Jun 2012, François Dumont wrote:
No opinion regarding this patch ? Here is a slightly modified version
without usage of lambda in is_heap_until implementation so that we use move
semantic when possible.
Hi,
(not a comment on your patch) did you have any opinion about the
possibility to use indirect functors? I.e. functors that get called as
f(i,j) instead of f(*i,*j), and f(a,b) typically returns *a<*b. I am not
sure it is a good idea, but it might avoid any regression.
--
Marc Glisse