Static Public Member Functions | List of all members
icl_core::DefaultConstruct< T > Struct Template Reference

#include <TemplateHelper.h>

Static Public Member Functions

static T C ()
 

Detailed Description

template<typename T>
struct icl_core::DefaultConstruct< T >

Provides a wrapper for default-constructing an object. This can be used for default-constructed default arguments in functions. If you directly use the default constructor of a template type the compiler will always complain if T has no default constructor, even if the default arguments are never used. If you use this wrapper the default constructor is only needed if the default arguments are used somewhere in the code. Otherwise T need not have a default constructor.

Definition at line 60 of file TemplateHelper.h.

Member Function Documentation

template<typename T >
static T icl_core::DefaultConstruct< T >::C ( )
inlinestatic

Definition at line 62 of file TemplateHelper.h.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59