This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x patch] allow std::bind<void>
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: libstdc++ at gcc dot gnu dot org, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Thu, 24 Dec 2009 15:34:15 +0100
- Subject: Re: [c++0x patch] allow std::bind<void>
- References: <4348dea50912240618v9d5d377w1526077d3cdb3a4c@mail.gmail.com>
On 12/24/2009 03:18 PM, Jonathan Wakely wrote:
> This patch fixes the included testcase, which failed in two ways.
>
Great.
Jon, when you have the time, I think we have also another special case
in <functional> which could be improved, maybe for std::function itself,
please help me figuring out the details, I noticed this issue a lot of
time ago. Anyway, I think the issue is that we don't have overloads /
specializations for variadic functions: we catch elegantly any number of
arguments with variadic templates but we don't catch variadic functions
themselves. I think the std::is_function trait is already ok, however.
Paolo.