Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-07 15:13:12

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:
`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.)


Shunsuke Sogame

Boost list run by bdawes at, gregod at, cpdaniel at, john at