Boost logo

Boost :

Subject: Re: [boost] hex/unhex()?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-06-19 13:12:57


On Tue, Jun 19, 2012 at 7:06 PM, Marshall Clow <mclow.lists_at_[hidden]> wrote:
> On Jun 11, 2012, at 7:06 AM, Olaf van der Spek wrote:
>
>> Not providing a variant that doesn't throw on bad input is problematic
>> too (IMO). A non-throwing variant should be available. A throwing
>> variant can then be build on top of it.
>
> No, it can not - because unhex has no control over the output iterator (which can throw).

Sure, but an unhex that doesn't throw on bad input would still be possible.

>> BTW, shouldn't hex be in the string directory?
>
> No. It's not a string algorithm.

Where did my other questions go?

-- 
Olaf

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