STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Attributes | Friends
stapl::runtime::arbitrary< Arg, Result > Struct Template Reference

Arbitrary mapping function. More...

Public Member Functions

template<typename T , typename... U, typename = typename std::enable_if< (sizeof...(U)>0>
 arbitrary (T &&t, U &&... u)
 
Result const & operator() (Arg const &t) const noexcept
 

Public Attributes

std::vector< Result > m_v
 

Friends

bool operator== (arbitrary const &x, arbitrary const &y) noexcept
 
bool operator!= (arbitrary const &x, arbitrary const &y) noexcept
 

Detailed Description

template<typename Arg, typename Result = Arg>
struct stapl::runtime::arbitrary< Arg, Result >

Arbitrary mapping function.

A range of values for the mapping has to be provided.

Template Parameters
ArgType mapped from.
ResultType mapped to.

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