From: Thomas Matelich
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. Kevlin ____________________________________________________________ Kevlin Henney phone: +44 117 942 2990 mailto:kevlin@curbralan.com mobile: +44 7801 073 508 http://www.curbralan.com fax: +44 870 052 2289 Curbralan: Consultancy + Training + Development + Review ____________________________________________________________
Kevlin Henney wrote:
From: Thomas Matelich
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@home.com tmatelich@zetec.com
participants (2)
-
Kevlin Henney
-
Thomas Matelich