Boost logo

Boost :

Subject: Re: [boost] [any] boost::get style accessors
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2010-04-29 01:28:00

On Wed, Apr 28, 2010 at 8:00 PM, Stewart, Robert <Robert.Stewart_at_[hidden]> wrote:

> At that point, I think they should be on par with any_cast rather than built on any_cast so that exceptions needn't be translated.  Exception handling overhead is too costly to do it twice when it isn't necessary.

I agree. I don't see any added value by using bad_get, except all
boost:get accessors would throw bad_get exceptions.

-- Christoph

Boost list run by bdawes at, gregod at, cpdaniel at, john at