mrdocs::dom::newArray

Return a new array using a custom implementation.

Synopsis

Declared in <mrdocs/Dom/Array.hpp>

template<
    class T,
    class... Args>
requires std::derived_from<T, ArrayImpl>
Array
newArray(Args&&... args);

Return Value

A new array using the specified implementation.

Template Parameters

NameDescription
TThe type of the custom implementation. This must be derived from ArrayImpl.
ArgsThe types of the arguments.

Parameters

NameDescription
argsArguments forwarded to the constructor of T.