AddDefaultConstructor()

TypeInfo::AddDefaultConstructor() method

Sets default constructor for the type T.

template<class T> void System::TypeInfo::AddDefaultConstructor()

TypeInfo::AddDefaultConstructor(DefaultConstructor) method

Sets default constructor by the functor that creates class instanse.

void System::TypeInfo::AddDefaultConstructor(DefaultConstructor method)

Arguments

ParameterTypeDescription
methodDefaultConstructorfunctor that creates class instanse

See Also