http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28
12:24:23 UTC ---
The example can be modified to work by passing a pointer, so the template
argument isn't deduced as a function type:
std::bind( funcint, 0 );
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28
12:43:12 UTC ---
It's not the _Bind constructor, it's the bind() call itself, this demonstrates
the problem:
templatetypename _Functor, typename... _ArgTypes
inline
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313
--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28
14:26:35 UTC ---
slightly further reduced:
templatetypename Functor, typename ArgTypes
inline void
bind(Functor f, ArgTypes a) { }
templatetypename T
void func( T )