|
Boost Users : |
From: Steven Watanabe (steven_at_[hidden])
Date: 2008-01-11 13:08:10
AMDG
Tobias Schwinger <tschwinger <at> isonews2.com> writes:
> >> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net