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

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

#include <val_conversion.hpp>

Concept definition

template<typename T>
concept Nui::Detail::HasToVal = requires(T const& t, Nui::val& v) { to_val(v, t); }
Concept detecting if a to_val function is provided for a type.
Definition val_conversion.hpp:42
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 to_val function is provided for a type.

Template Parameters
TThe type to check for