15 Mar
2007
15 Mar
'07
11:25 a.m.
Filip Konvi?ka ha escrito:
I've been playing with the problem too, and found this solution...it does not rely on typeof, but it does rely on return_type. I'm a bit unsure about why I had to use "unsigned int" to make it work, so I'd welcome some comments on this.
Do you mean you couldn't use RetType properly? I've tried with
the following in GCC 3.2:
template