17 Jul
2017
17 Jul
'17
8:17 a.m.
El 17/07/2017 a las 1:24, Peter Dimov via Boost escribió:
Joaquin M López Muñoz wrote:
1.7 mp_eval[_xx] functions should accept metafunctions in both their true and false branches.
I can't make this work. [...]
This is most unfortunate. My original concern remains though that there's no
reason why one of the two branches of mp_eval_if should not accept a
metafunction
(and note the irony that mp_eval_if precisely does not eval when
B holds). If
syntax can't be made to work, it could be advisable to drop mp_eval_if
altogether and provide for instance mp_apply_if:
mp_apply_if,G,mp_list