Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2009-02-18 06:18:09


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
On
> Behalf Of Vladimir Batov
> Sent: 18 February 2009 09:45
> To: boost_at_[hidden]
> Subject: Re: [boost] Formal Review Request: Boost.String.Convert
>
> How about
>
> convert::to<wstring>
> convert::to<int, rounding::down>
> convert::to<wstring, native_mbcs>

Why not just convert_to<wstring>?

Is the problem with convert by itself that it leaves the reader worrying
about 'to' and/or 'from'?

 - leaving one feeling 'what?'

Direction matters.

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

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