Boost logo

Boost :

Subject: Re: [boost] Query for interest in including a shim class converting between char*, wchar_t*, string, wstring
From: Zhi Tan (rockonedge_at_[hidden])
Date: 2011-08-25 09:33:18


>
> Date: Thu, 25 Aug 2011 11:24:59 +0200
> From: Sebastian Redl <sebastian.redl_at_[hidden]>
>
> On 25.08.2011 11:11, Tan, Tom (Shanghai) wrote:
> > - The name TR is inspired from QT' tr() macro.
> >
> Qt's tr() stands for "translate" because that thing is the entry point
> for Qt's localization/message catalog system. In other words, you use
> tr() only for user-visible string that should get translated. That makes
> it a poor inspiration for something that is concerned with encoding
> conversion.
>

> Sebastian
>
I am aware this is not translation, but I like the shortness of tr(). One of
the things I am expecting from the community is a proper naming. Vicente
Botet renamed it to be adaptive_string, but it seems too long for me to
type. Wile I am typing, it occurs to me as() might be a better name.


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