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: [v3] plus<void>


On 24 September 2013 23:37, Marc Glisse wrote:
> Hello,
>
> this was only minimally tested since trunk is broken at the moment. There
> don't seem to be specific tests for the existing functors, so a couple tests
> for the new specializations seem good enough.
>

I've had this sitting in my tree waiting to do something with, I'm
about to go to sleep so didn't check if the test covers anything yours
doesn't.

It looks like your patch adds the default template argument even in
C++98 mode, I avoided that by putting forward declarations at the top
of the file, in a #if block.

I used an incomplete __is_transparent type, but void works just as well.

Attachment: n3421-greater.patch
Description: Binary data


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