Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-18 13:15:23


AMDG

Stewart, Robert wrote:
> On Wednesday, February 18, 2009 12:46 PM
> Emil Dotchevski wrote:
>
>> On Wed, Feb 18, 2009 at 5:52 AM, Stewart, Robert
>> <Robert.Stewart_at_[hidden]> wrote:
>>
>> Many times I've needed to_string without needing from_string. In my
>> book, this is a strong indication that they shouldn't be coupled.
>>
>
> Your argument isn't compelling. Consider an arbitrary precision integer type. If many times one need only add such values, without also needing subtraction, should those operations be separated one from the other?
>

It isn't necessary to separate them, but it is not unreasonable to do so
either.
For example, MPL has a separate header for each arithmetical metafunction.

In Christ,
Steven Watanabe


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