Boost logo

Boost :

Subject: Re: [boost] Futures (was: Re: [compute] Some remarks)
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2015-01-13 04:01:48


Hi Niall,

On 12 January 2015 22:32, Niall Douglas wrote:
> On 12 Jan 2015 at 16:19, Sylvester-Bradley, Gareth wrote:
> > On 12 January 2015 15:30, Niall Douglas wrote:
> > > On 7 Jan 2015 at 12:40, Thomas Heller wrote:
> > > > Just a minor very unrelated remark. I find the name "BindLib" very confusing.
> > >
> > > The library is a toolkit for locally binding libraries into
> > > namespaces :).
> >
> > I've not come across the word 'Bind' used this way in C++, and of course it is used for other things.
> >
> > Would 'Alias' or 'NamespaceAlias' work?
>
> Those unfortunately have even more confusing alternative meanings in
> C++. AliasLib makes me think pointer aliasing. NamespaceAliasLib is
> too long I think, and besides you're not aliasing namespaces, you're
> aliasing types.

FWIW, the "Lib" suffix doesn't follow the usual naming convention for Boost libraries [http://www.boost.org/development/requirements.html] which would make it Boost.NamespaceAlias, the Boost NamespaceAlias library, or NamespaceAlias, a Boost library by Niall Douglas.

However, I can see the point about the meanings of both those suggestions.

> I do agree about BindLib being a poor name. It is actually onto its
> third choice of name now :( but to date, it's the least terrible of
> the reasonably descriptive library names I have thought of.

Yes, naming is the hardest problem. :-)
Not sure what you'll think of this, but how about Boost.Using?
Or Boost.NameAlias?

> Do bear
> in mind it doesn't just mount libraries into namespaces, it also
> provides an emulation of Boost.Test using CATCH,

That's interesting, since I've just had to do that, or rather a shim that can be switched from one to the other, myself.

I'll have a look at your repo; interested to see how you solved the BOOST_AUTO _TEST_CASE_TEMPLATE mapping to Catch.

> ...

Best regards,
Gareth

************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards


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