mrdocs::dom::newObject
Return a new object using a custom implementation.
Synopsis
Declared in <mrdocs/Dom/Object.hpp>
template<
class T,
class... Args>
requires std::derived_from<T, ObjectImpl>
Object
newObject(Args&&... args);
Template Parameters
| Name | Description |
|---|---|
T |
The type of the custom implementation. This must be derived from ObjectImpl. |
Args |
The types of the arguments. |
Parameters
| Name | Description |
|---|---|
args |
Arguments forwarded to the constructor of T. |
Created with MrDocs