Lists

Functions

template<typename S >
const_map_strategy< S > aurelia::const_map (const S &s)
 Applies the strategy on all elements of the list but without modifying it.
template<typename S >
map_strategy< S > aurelia::map (const S &s)
 Applies the strategy on all elements of a list.
template<typename S >
map_index_strategy< S > aurelia::map_index (const S &s)
 Apply the strategy to all elements of a list giving an extra parameter for the position in the list.
template<typename Out , typename Strat >
map_join_strategy< Out, Strat > aurelia::map_join (const Out &, const Strat &s)
 Applies the strategy to all elements of a list, each result should be a list. All the lists are concatenated.
template<typename S >
map_one_strategy< S > aurelia::map_one (const S &s)
 Applies the strategy to elements of a list until one succeeds.
template<typename S >
map_some_strategy< S > aurelia::map_some (const S &s)
 Applies the strategy to at least one element of a list.

Variables

size_strategy aurelia::size
 Returns the size of a list.

Function Documentation

template<typename S >
map_index_strategy<S> aurelia::map_index ( const S &  s)

Apply the strategy to all elements of a list giving an extra parameter for the position in the list.

See index_strategy_concept

template<typename Out , typename Strat >
map_join_strategy<Out, Strat> aurelia::map_join ( const Out &  ,
const Strat &  s 
)

Applies the strategy to all elements of a list, each result should be a list. All the lists are concatenated.

Template Parameters:
OutSelects the output type.