
27 Jan
2010
27 Jan
'10
5:32 p.m.
AMDG vicente.botet wrote:
"Kenny Riddile" <kfriddile@yahoo.com> wrote:
Alas, I'm using VC9. The first declaration of select() gives me the following error:
error C2564: 'T' : a function-style conversion to a built-in type can only take one argument
Hi,
have you tried to double ()
template< typename T > typename result< sizeof T(( make< const std::string& >(), make< Foo& >() )) >::type select( int );
That doesn't try the same constructor. The problem is that this method requires extended SFINAE which VC9 doesn't support. In Christ, Steven Watanabe