OpenClonk
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 495 of file StdAdaptors.h.

Constructor & Destructor Documentation

◆ StdParameterAdaptMaker()

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

Definition at line 498 of file StdAdaptors.h.

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

Member Function Documentation

◆ operator()()

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

Definition at line 500 of file StdAdaptors.h.

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

References StdParameterAdaptMaker< P >::Par.

Member Data Documentation

◆ Par

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

Definition at line 497 of file StdAdaptors.h.

Referenced by StdParameterAdaptMaker< P >::operator()().


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