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
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