Lumiera  0.pre.03
»edit your freedom«
PassAsIs< TAR > Struct Template Reference

#include "lib/multifact.hpp"

Description

template<typename TAR>
struct lib::factory::PassAsIs< TAR >

Dummy "wrapper", to perform the fabrication and return the unaltered product.

Remarks
this is a "perfect forwarding" implementation, similar to std::forward, used as policy template

Definition at line 79 of file multifact.hpp.

Public Types

typedef TAR BareType
 
typedef TAR RawType
 
typedef TAR ResultType
 

Public Member Functions

template<class FUN , typename... ARGS>
ResultType wrap (FUN create, ARGS &&... args) noexcept
 
+ Collaboration diagram for PassAsIs< TAR >:

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