Roberto Hinz wrote:
Hi,
not a review yet. I´m just wondering: would the implementation below perfom better than the recursive version of mp_find_impl ? I think it should perform better when one uses mp_find several times in the same list. It also compiles in vs2013.
It performs better across the board (for repeated finds).
Upon further experimentation, while it does perform very well for repeated
finds such as those done by this test case:
using L1 = mp_iota_c<300>;
template<class T> using F = mp_find