tinympl  0.2
mini MPL library for C++11
tinympl::variadic::replace< Old, New, Out, Args > Class Template Reference

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...>.

Detailed Description

template<class Old, class New, template< class...> class Out, class... Args>
class tinympl::variadic::replace< Old, New, Out, Args >

Replace all the elements in the input sequence equal to Old with New*.

Parameters
OldThe type to be replaced
NewThe new type
OutThe type of the output sequence, defaults to the same kind of the input sequence
Args...The input sequence
Returns
replace<...>::type is a type templated from Out
Note
The comparison is done with tinympl::equal_to - it can be specialized
See also
tinympl::replace

The documentation for this class was generated from the following file: