|
Boost : |
Subject: Re: [boost] [any] boost::get style accessors
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2010-04-30 01:50:33
On Thu, Apr 29, 2010 at 7:26 PM, vicente.botet <vicente.botet_at_[hidden]> wrote:
>
> Thinking a little bit more the introduction of boost::get<> in Boost.Any would result at the end on the deprecation of any_cast, isn't it?
If boost any_cast<> has equivalent sematics to boost::get<> and
boost::get<> is the perferred generic way (which I think it is) to
retrieve values then +1 for the deprecation.
> So the refactoring at the interface level will introduce constraints that sould be avoided.
Could you please elaborate on your thoughts?
-- Christoph
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk