|
Boost : |
Subject: Re: [boost] [review][mp11] Formal review of Mp11
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-07-23 20:31:33
AMDG
On 07/23/2017 12:15 PM, Vinnie Falco via Boost wrote:
> On Sun, Jul 23, 2017 at 11:08 AM, Peter Koch Larsen via Boost
> <boost_at_[hidden]> wrote:
>> I would like to add my opinion about the mp_ prefix. Many do not like
>> it, but I actually believe it is very nice to have a name that stands
>> out.
>
> I like it too but let me propose an alternative sure to displease everyone:
>
> In addition to mp11::mp_*, the library can provide a set of alternate
> aliases in the namespace mp11::alternatives::. For example
> mp11::alternatives::transform, or mp11::alternatives::if_
>
I'm not fond of the mp_ prefix, but providing
multiple names for the same thing for no
good reason other than some people's personal
preferences is worse.
> People who feel strongly about names similar to MPL or who despise the
> mp_ prefix can simply lift this alternate set of names into the
> namespace of their choosing. For example:
>
> namespace mp = mp11::alternatives;
>
> Lets you use mp::transform, mp::if_
>
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