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