OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdParameterAdaptMaker< P > Struct Template Reference

#include <StdAdaptors.h>

Public Member Functions

 StdParameterAdaptMaker (P &&rPar)
 
template<class T >
StdParameterAdapt< T, P > operator() (T &&rObj) const
 

Public Attributes

P && Par
 

Detailed Description

template<class P>
struct StdParameterAdaptMaker< P >

Definition at line 461 of file StdAdaptors.h.

Constructor & Destructor Documentation

template<class P >
StdParameterAdaptMaker< P >::StdParameterAdaptMaker ( P &&  rPar)
inline

Definition at line 464 of file StdAdaptors.h.

464 : Par(std::forward<P>(rPar)) { }

Member Function Documentation

template<class P >
template<class T >
StdParameterAdapt<T, P> StdParameterAdaptMaker< P >::operator() ( T &&  rObj) const
inline

Definition at line 466 of file StdAdaptors.h.

466 { return StdParameterAdapt<T, P>(std::forward<T>(rObj), std::forward<P>(Par)); }

Member Data Documentation

template<class P >
P&& StdParameterAdaptMaker< P >::Par

Definition at line 463 of file StdAdaptors.h.


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