From: Sergey Shandar (sergey_at_[hidden])
Date: 2007-11-07 21:34:17
> Sergey Shandar wrote:
>> char c;
>> int i;
>> // if(c == static_cast<char>(i))
>> if(c == cast::static_::value(i))
> I too am trying to implement a similar facilities: http://tinyurl.com/ynmf5n
> `automatic<>::type` can take multiple arguments.
> BTW, does `polymorphic::ref` work on gcc?
> I recall I gave up supporting a reference type as target (e.g. `polymorphic::ref`),
> because gcc-3.4 and 4.1 show a weird compile error.
> (Though I found a workaround, it was not complete.)
References work on gcc-3.4.5 (mingw-special). I have not tried 4.X.X.
See the test:
What's wrong with GCC?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk