Nui
Loading...
Searching...
No Matches
Nui::Detail::HasFromVal Concept Reference

Concept detecting if a from_val function is provided for a type. More...

#include <val_conversion.hpp>

Concept definition

template<typename T>
concept Nui::Detail::HasFromVal = requires(Nui::val const& v, T& t) { from_val(v, t); }
Concept detecting if a from_val function is provided for a type.
Definition val_conversion.hpp:50
static constexpr auto extractJsonMember(nlohmann::json const &json) -> decltype(auto)
Definition rpc_hub.hpp:29
emscripten::val val
Definition val.hpp:5

Detailed Description

Concept detecting if a from_val function is provided for a type.

Template Parameters
TThe type to check for