## TypeInfo::AddDefaultConstructor() method


Sets default constructor for the type T.

```cpp
template<class T> void System::TypeInfo::AddDefaultConstructor()
```

## See Also

* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## TypeInfo::AddDefaultConstructor(DefaultConstructor) method


Sets default constructor by the functor that creates class instanse.

```cpp
void System::TypeInfo::AddDefaultConstructor(DefaultConstructor method)
```


| Parameter | Type | Description |
| --- | --- | --- |
| method | DefaultConstructor | functor that creates class instanse |

## See Also

* Typedef [DefaultConstructor](../defaultconstructor/)
* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
