
23 Nov
2008
23 Nov
'08
9:32 p.m.
Joel Falcou wrote:
How can I set up SFINAE using enable_if on method like
struct foo { template<class T> operator T() { return T(1); } };
I want the operator T() to be ther only if T is arithemtic for example.
You can't do that. There is no work-around. -- Eric Niebler BoostPro Computing http://www.boostpro.com