Static Public Member Functions
icl_core::DefaultConstruct< T > Struct Template Reference

#include <TemplateHelper.h>

List of all members.

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 ( ) [inline, static]

Definition at line 62 of file TemplateHelper.h.


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


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:20