mrdocs::dom::ValueFrom
ValueFrom overloads
Synopses
Declared in <mrdocs/Dom/Value.hpp>
Convert an object of type T to dom::Value.
Convert an object of type T to dom::Value.
Convert an object of type T to dom::Value with a context
Convert an object of type T to dom::Value.
template<
class Context,
HasValueFrom<Context> T>
void
ValueFrom(
T&& t,
Context const& ctx,
Value& v);
Return Value
dom::Value out parameter.
Template Parameters
| Name | Description |
|---|---|
T |
The type of the object to convert. |
Context |
The type of context passed to the conversion function. |
Parameters
| Name | Description |
|---|---|
t |
The object to convert. |
v |
|
ctx |
Context passed to the conversion function. |