
27 Jan
2010
27 Jan
'10
5:51 p.m.
vicente.botet wrote:
Hi,
have you tried to double ()
template< typename T > typename result< sizeof T(( make< const std::string& >(), make< Foo& >() )) >::type select( int );
Vicente
Ya, I thought of that right after posting and it does fix the compilation error. The issue I'm having now is that both has_foo_ctor< Foo >::value has_foo_ctor< Bar >::value are evaluating to true and I'm not sure why.