This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [c++0x patch] allow std::bind<void>


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.


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