|
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/replace.hpp>
Replace all the elements in the input sequence equal to Old with New*.
| SequenceIn | The input sequence |
| 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 |
replace<...>::type is a type templated from Out