
9 Jun
2005
9 Jun
'05
7:20 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote
Try:
template<int n> struct int_; template<class T> struct made { static T value; };
template<class F> int_<sizeof( made<F&>::value () )> foo();
int main() { }
The same result in VC7.1: "term does not evaluate to a function taking 0 arguments" Regards, Arkadiy