tinympl
0.2
mini MPL library for C++11
|
Replace all the elements in the input sequence which satisfy a given predicate with a given type T. More...
#include <tinympl/replace_if.hpp>
Replace all the elements in the input sequence which satisfy a given predicate with a given type T.
SequenceIn | The input sequence |
F | The predicate, F<T>::type::value must be convertible to bool |
T | The type used to replace the types |
Out | The type of the output sequence, defaults to the same kind of the input sequence |
replace_if<...>::type
is a type templated from Out