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);
Description
Return a new array using a custom implementation.
Return a new array using a custom implementation.
Return Value
A new array using the specified implementation.
Template Parameters
Name |
Description |
T |
The type of the custom implementation. This must be derived from ArrayImpl. |
Args |
The types of the arguments. |
Parameters
Name |
Description |
args |
Arguments forwarded to the constructor of T. |
Created with MrDocs