STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::initialize_parameter< T, Q, bool > Struct Template Reference

Intercept optional parameters passed with an object of type use_default. If this occurs, return a default constructed instance of type Q. Otherwise, forward on the passed parameter. More...

Static Public Member Functions

static T && apply (T &&t)
 

Detailed Description

template<typename T, typename Q, bool = std::is_same<use_default, typename std::decay<T>::type>::value>
struct stapl::initialize_parameter< T, Q, bool >

Intercept optional parameters passed with an object of type use_default. If this occurs, return a default constructed instance of type Q. Otherwise, forward on the passed parameter.


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