Lumiera  0.pre.03
»edityourfreedom«
Build< TAR >::Wrapper< RAW > Struct Template Reference

#include "lib/multifact.hpp"

Description

template<typename TAR>
template<typename RAW>
struct lib::factory::Build< TAR >::Wrapper< RAW >

Definition at line 140 of file multifact.hpp.

Public Types

using BareType = RAW
 
using RawType = RAW
 
using ResultType = TAR
 
using WrapFunc = std::function< ResultType(BareType)>
 

Public Member Functions

void defineFinalWrapper (WrapFunc &&fun)
 
template<class FUN , typename... ARGS>
ResultType wrap (FUN create, ARGS &&... args)
 

Private Attributes

WrapFunc wrapper_
 

Member Typedef Documentation

◆ RawType

using RawType = RAW

Definition at line 142 of file multifact.hpp.

◆ BareType

using BareType = RAW

Definition at line 143 of file multifact.hpp.

◆ ResultType

using ResultType = TAR

Definition at line 144 of file multifact.hpp.

◆ WrapFunc

using WrapFunc = std::function<ResultType(BareType)>

Definition at line 146 of file multifact.hpp.

Member Function Documentation

◆ defineFinalWrapper()

void defineFinalWrapper ( WrapFunc &&  fun)
inline

Definition at line 149 of file multifact.hpp.

◆ wrap()

ResultType wrap ( FUN  create,
ARGS &&...  args 
)
inline

Definition at line 156 of file multifact.hpp.

Member Data Documentation

◆ wrapper_

WrapFunc wrapper_
private

Definition at line 162 of file multifact.hpp.

+ Collaboration diagram for Build< TAR >::Wrapper< RAW >:

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