Boost logo

Boost :

Subject: Re: [boost] [review][mp11] Formal review of Mp11
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-07-23 18:15:59

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_

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_


Boost list run by bdawes at, gregod at, cpdaniel at, john at