|
tinympl
0.2
mini MPL library for C++11
|
Replace all the elements in the input sequence equal to Old with New*. More...
#include <tinympl/variadic/replace.hpp>
Inherits tinympl::variadic::replace_if< bind< equal_to, arg1, Old >::template eval_t, New, Out, Args...>.
Replace all the elements in the input sequence equal to Old with New*.
| Old | The type to be replaced |
| New | The new type |
| Out | The type of the output sequence, defaults to the same kind of the input sequence |
| Args... | The input sequence |
replace<...>::type is a type templated from Out