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))
> {
> ...
> }

Hi,
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.)

Regards,

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk