|
Boost : |
Subject: Re: [boost] [transaction] New Boost.Transaction library under discussion
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2010-01-29 06:00:51
On Fri, Jan 29, 2010 at 7:11 AM, vicente.botet <vicente.botet_at_[hidden]> wrote:
>>
>> Zitat von "vicente.botet" <vicente.botet_at_[hidden]>:
>>
>>>>
>>>> any ideas for a namespace?
>>>
>>> transactions?
>>
>> hmm, I assumed that was against some boost naming guideline, but I see
>> there are a number of libraries that use the plural (for no apparent
>> reason?).
The guidelines discourage giving plural names, but (quoting from the
guidelines):
"The library's primary namespace (in parent ::boost) is given that
same name, except when there's a component with that name (e.g.,
boost::tuple), in which case the namespace name is pluralized. For
example, ::boost::filesystem."
>>
>> better. if we can come up with with something to the effect of
>> "transaction processing library" (but not "tpl") I'd prefer that but I
>> guess "transactions" is ok.
>
> I'd also prefer a short name, but we need one that is enough significant to be adopted by the Boost community. Quite often transaction is abreviatted as "tx", what about "txl"?
>
you can always use namespace aliases. FWIW, when I use
boost::filesystem, this is the first thing I do:
namespace fs = boost::filesystem;
Makes for a nice short name which can be still limited to a translation unit.
-- gpd
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk