17 Jul
2017
17 Jul
'17
11:32 a.m.
El 17/07/2017 a las 13:05, Peter Dimov via Boost escribió:
To expand on this a bit:
There are, in general, two main modes of use of Mp11, serving two audiences. One is the "easy mode", where one includes
, combines that with `using namespace boost::mp11;`, then goes ahead using mp_this and mp_that without qualification. This serves (a) people who play with metaprogramming in short test cases, (b) people who have a need for a metaprogram in a .cpp file (or an internal header file not meant for public consumption), whether library or application one.
These people would be equally served by instructing them to namespace mp=boost::mp11; and then go ahead with mp::this and mp::that. Joaquín M López Muñoz