Return a new dom::Array based on a FromValue context
<mrdocs/Dom/LazyArray.hpp>
template<
std::ranges::random_access_range T,
class Context>
requires HasValueFrom<std::ranges::range_value_t<T>, Context>
Array
LazyArray(
T const& arr,
Context const& ctx);
| Name | Description |
|---|---|
| arr | The underlying range of elements. |
| ctx | The context used to convert each element to a dom::Value. |