BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::NewMaker< T > Struct Template Reference

#include <MakerTrait.h>

Public Types

typedef ReferenceHolderBase< T *, T & > result_type
 

Public Member Functions

template<class U >
result_type operator() (const U &iU) const
 

Detailed Description

template<class T>
struct dchain::NewMaker< T >

Definition at line 38 of file MakerTrait.h.

Member Typedef Documentation

◆ result_type

template<class T >
typedef ReferenceHolderBase<T*, T&> dchain::NewMaker< T >::result_type

Definition at line 40 of file MakerTrait.h.

Member Function Documentation

◆ operator()()

template<class T >
template<class U >
result_type dchain::NewMaker< T >::operator() ( const U &  iU) const
inline

Definition at line 43 of file MakerTrait.h.

43 {
44 return result_type(new T(iU));
45 }
ReferenceHolderBase< T *, T & > result_type
Definition: MakerTrait.h:40

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