tinympl  0.2
mini MPL library for C++11
tinympl::variadic::replace_if< F, T, Out, Args > Class Template Reference

Replace all the elements in the input sequence which satisfy a given predicate with a given type T. More...

#include <tinympl/variadic/replace_if.hpp>

Detailed Description

template<template< class...T > class F, class T, template< class...> class Out, class... Args>
class tinympl::variadic::replace_if< F, T, Out, Args >

Replace all the elements in the input sequence which satisfy a given predicate with a given type T.

Parameters
FThe predicate, F<T>::type::value must be convertible to bool
TThe type used to replace the types
OutThe type of the output sequence, defaults to the same kind of the input sequence
Args...The input sequence
Returns
replace_if<...>::type is a type templated from Out
See also
tinympl::replace_if

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