Boost logo

Boost :

Subject: Re: [boost] [convert] are you mixing default_value and error_value?
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2009-07-08 10:10:48


On Wed, Jul 8, 2009 at 6:42 AM, vicente.botet<vicente.botet_at_[hidden]> wrote:
>
>
> Yes, this is what I wanted to say. On the case of the direction class, you are forced to give an *initial value* because direction is not default constructible, but with your interface we can't have an exception in this case. Is for this reason I say you are mixin both.
>

Do we need to give an initial value just for conversion to work at
all, or is it only needed as a return in the error case?

Tony


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