11 Jan
2008
11 Jan
'08
6:08 p.m.
AMDG
Tobias Schwinger
Try the attached code - does it work for you?
No it doesn't. None of the versions requiring implicit conversions worked. Did you by any chance compile with NDEBUG?
It works with GCC4. And another overload would be good:
friend char operator,(T const&, reserved const&);
gcc 3.4.4 and msvc 8.0 are both unhappy, still. What makes me wonder is that assert( !IS_VOID(nonvoid(),X) ); can't possibly work because there is no conversion from int to X. In Christ, Steven Watanabe