This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove algo duplication
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Marc Glisse <marc dot glisse at inria dot fr>, Christopher Jefferson <chris at bubblescope dot net>, François Dumont <frs dot dumont at gmail dot com>, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Tue, 17 Sep 2013 12:36:32 +0200
- Subject: Re: Remove algo duplication
- Authentication-results: sourceware.org; auth=none
- References: <52264074 dot 2050502 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309081625460 dot 3536 at laptop-mg dot saclay dot inria dot fr> <522E246F dot 5040608 at gmail dot com> <E2836BBC-F90D-4AE5-AAAB-EB3242BF030D at oracle dot com> <CA+jCFLtpCASpP1NTru=__hOQo5O-uj0m82YDqmB2wBYxspcQxA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309151125180 dot 3593 at laptop-mg dot saclay dot inria dot fr> <CA+jCFLsgUS3x0AVQDvn1OUgkYt6EJJojUrL4xrtVo9XQwq8J6A at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309161348100 dot 3698 at laptop-mg dot saclay dot inria dot fr> <523706CD dot 5060707 at oracle dot com> <alpine dot DEB dot 2 dot 10 dot 1309161636200 dot 3698 at laptop-mg dot saclay dot inria dot fr> <52371F6F dot 80409 at oracle dot com> <alpine dot DEB dot 2 dot 10 dot 1309162232110 dot 3698 at laptop-mg dot saclay dot inria dot fr> <52379F90 dot 5000108 at oracle dot com> <alpine dot DEB dot 2 dot 10 dot 1309170847350 dot 3594 at laptop-mg dot saclay dot inria dot fr> <52381299 dot 3090906 at oracle dot com> <alpine dot DEB dot 2 dot 10 dot 1309171218160 dot 11436 at stedding dot saclay dot inria dot fr>
Hi,
On 09/17/2013 12:27 PM, Marc Glisse wrote:
I am quite convinced there is no significant backward compatibility
issue, less<void> was simply meaningless beforehand, that's why it was
so easy to have the new less<void> accepted in the standard. Adding it
in C++11 (not just C++14) is basically free. Whether we want a C++03
emulation is a harder question.
For the time being, would you be willing to prepare an actual patch for
C++11? I think we should also have a couple of tests, besides the code
you already posted.
Thanks,
Paolo.