On 7/23/2017 2: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:
It displeases me and I usually like options. I think such a complication is unnecessary.
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_
Thanks