STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::detail::do_once_impl< F, Rtn, Args > Struct Template Reference

Helper struct for do_once which uses partial specialization to dispatch to correct implementation for void and non-void return types of F. More...

Static Public Member Functions

static Rtn apply (F &&f, Args &&... args)
 

Detailed Description

template<typename F, typename Rtn, typename... Args>
struct stapl::detail::do_once_impl< F, Rtn, Args >

Helper struct for do_once which uses partial specialization to dispatch to correct implementation for void and non-void return types of F.

Template Parameters
FFunction object passed to do_once.
RtnReturn type of F.
ArgsList of arguments to pass to function object invocation.

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