Boost logo

Boost Users :

From: Thomas Matelich (toms-mailing-lists_at_[hidden])
Date: 2001-11-09 12:28:06


Kevlin Henney wrote:

> > From: Thomas Matelich <toms-mailing-lists_at_[hidden]>
> >
> >In the docs, it uses a function called any_ptr, but I don't think it
> >exists. Could someone please explain?
>
> Yes, nothing more elaborate than a typo, I'm afraid! Should be any_cast.

I'm assuming its left over from an older API. That leads into a question I
had had, maybe unsure-ness is more accurate. It seems strange to pass in
&any_ob if I want a pointer out, and any_ob if I want a reference. I can't
exactly say it's wrong because <reason>, it just seems like a hidden
feature. Slightly non-intuitive.

--
Thomas O Matelich
Senior Software Designer
Zetec, Inc.
matelich_at_[hidden]
tmatelich_at_[hidden]

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