Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-21 16:24:17


Unai Uribarri <unaiur_at_[hidden]> writes:

> Currently, any_cast doesn't allow to cast to
> references. Instead, you have obscure castings from
> any* to T returning T*.

That sounds like a design mistake on the face of it.

> I think that the following code is more standard
> conforming and, therefore, more understandable than the
> currently allowed counterparts:

In what sense is it more standard-conforming?

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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