mrdocs::dom::LazyObject
Return a new dom::Object based on a transformed lazy array implementation.
Synopsis
Declared in <mrdocs/Dom/LazyObject.hpp>
template<
class T,
class Context>
requires HasLazyObjectMap<T, Context>
Object
LazyObject(
T const& arr,
Context const& context);
Return Value
A new dom::Array whose elements are the result of converting each element in the underlying range using the specified context.
Parameters
| Name | Description |
|---|---|
arr |
The underlying range of elements. |
context |
The context used to convert each element to a dom::Value. |
Created with MrDocs