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

Copy the elements of a given input sequence which satisfy a given predicate - the ordering is preserved. More...

#include <tinympl/variadic/copy_if.hpp>

Detailed Description

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

Copy the elements of a given input sequence which satisfy a given predicate - the ordering is preserved.

Parameters
FThe test predicate - F<T>::type::value shall be convertible to bool
OutThe output sequence type - defaults to the same sequence kind of the input sequence
Args...The input sequence
Returns
copy_if<...>::type is a type templated from Out which is constructed with the elements of SequenceIn which satisfy the predicate F.
See also
tinympl::copy_if

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