Add mp_copy_if_q

This commit is contained in:
Peter Dimov
2017-10-21 22:03:37 +03:00
parent e4c12368c6
commit 5741ce6657
4 changed files with 80 additions and 0 deletions

View File

@@ -412,6 +412,7 @@ template<template<class...> class L, class... T, template<class...> class P> str
} // namespace detail
template<class L, template<class...> class P> using mp_copy_if = typename detail::mp_copy_if_impl<L, P>::type;
template<class L, class Q> using mp_copy_if_q = mp_copy_if<L, Q::template fn>;
// mp_remove<L, V>
namespace detail