|
Boost : |
Subject: Re: [boost] hex/unhex()?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-06-19 13:06:33
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).
> BTW, shouldn't hex be in the string directory?
No. It's not a string algorithm.
-- Marshall
Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk