mrdocs::dom::LazyObject
LazyObject overloads
Synopses
Declared in <mrdocs/Dom/LazyObject.hpp>
Return a new dom::Object based on a lazy object implementation.
template<HasLazyObjectMapWithoutContext T>
Object
LazyObject(T const& obj);
Return a new dom::Object based on a transformed lazy array implementation.
template<
class T,
class Context>
requires HasLazyObjectMap<T, Context>
Object
LazyObject(
T const& arr,
Context const& context);
Return Value
-
A new dom::Object whose properties are the result of converting each property in the underlying object to a dom::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 |
obj |
The underlying object. |
arr |
The underlying range of elements. |
context |
The context used to convert each element to a dom::Value. |
Created with MrDocs