Euphoria
|
functional.h File Reference
#include <utility>
#include <map>
Go to the source code of this file.
Namespaces | |
eu | |
Functions | |
template<typename A , typename B > | |
std::vector< std::pair< A, B > > | eu::zip (const std::vector< A > &as, const std::vector< B > &bs) |
template<typename A , typename B > | |
std::vector< std::pair< A, B > > | eu::zip_longest (const std::vector< A > &as, const std::vector< B > &bs, A da=A(), B db=B()) |
template<typename T , typename F = T, typename C > | |
std::vector< T > | eu::map (const std::vector< F > &fs, C convert) |
template<typename T , typename K , typename V , typename C > | |
std::vector< T > | eu::map (const std::map< K, V > &fs, C convert) |
template<typename T , typename C > | |
std::vector< T > | eu::filter (const std::vector< T > &ts, C check) |
template<typename T , typename C > | |
bool | eu::all (const std::vector< T > &ts, C check) |
template<typename T , typename C > | |
bool | eu::any (const std::vector< T > &ts, C check) |
template<typename T , typename R = T, typename C > | |
R | eu::fold (const std::vector< T > &ts, C concat, R zero) |