rangeless::fn
rangeless::fn::impl::to_vector Struct Reference

#include <fn.hpp>

Public Member Functions

template<typename T >
std::vector< T > operator() (std::vector< T > vec) const
 
template<typename Gen , typename Vec = std::vector<typename seq<Gen>::value_type>>
Vec operator() (seq< Gen > r) const
 
template<typename Iterable , typename Vec = std::vector<typename Iterable::value_type>>
Vec operator() (Iterable src) const
 
template<typename Key , typename Value , typename Vec = std::vector<std::pair<Key, Value>>>
Vec operator() (std::map< Key, Value > m) const
 

Detailed Description

Definition at line 1160 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
std::vector<T> rangeless::fn::impl::to_vector::operator() ( std::vector< T >  vec) const
inline

Definition at line 1164 of file fn.hpp.

◆ operator()() [2/4]

template<typename Gen , typename Vec = std::vector<typename seq<Gen>::value_type>>
Vec rangeless::fn::impl::to_vector::operator() ( seq< Gen >  r) const
inline

Definition at line 1172 of file fn.hpp.

◆ operator()() [3/4]

template<typename Iterable , typename Vec = std::vector<typename Iterable::value_type>>
Vec rangeless::fn::impl::to_vector::operator() ( Iterable  src) const
inline

Definition at line 1180 of file fn.hpp.

◆ operator()() [4/4]

template<typename Key , typename Value , typename Vec = std::vector<std::pair<Key, Value>>>
Vec rangeless::fn::impl::to_vector::operator() ( std::map< Key, Value >  m) const
inline

Definition at line 1205 of file fn.hpp.


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