MIRA
HasPublicDefaultConstructor< T > Class Template Reference

Type trait that indicates whether or not a type can be constructed using the public default constructor. More...

#include <factory/HasDefaultConstructor.h>

Inheritance diagram for HasPublicDefaultConstructor< T >:
Inheritance graph
[legend]

Detailed Description

template<typename T>
class mira::HasPublicDefaultConstructor< T >

Type trait that indicates whether or not a type can be constructed using the public default constructor.

By default this traits inherits from std::true_type.

You should specialize this trait for your own types if they do not have a public default constructor and should be managed by the class factory.


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