CMS 3D CMS Logo

List of all members | Public Member Functions
edm::ProductFromFwdPtrFactory< T > Struct Template Reference

#include <FwdPtrConversionFactory.h>

Public Member Functions

T operator() (edm::FwdPtr< T > const &r) const
 

Detailed Description

template<class T>
struct edm::ProductFromFwdPtrFactory< T >

Factory class template for how to produce products from a FwdPtr. This particular example is for copy construction, but the same signature can be used elsewhere.

Definition at line 22 of file FwdPtrConversionFactory.h.

Member Function Documentation

template<class T >
T edm::ProductFromFwdPtrFactory< T >::operator() ( edm::FwdPtr< T > const &  r) const
inline

Definition at line 23 of file FwdPtrConversionFactory.h.

23 { return T(*r); }
long double T