5#ifndef MOLYBDEN_JS_ACCESSIBLE_FIELD_IMPL_DETAIL_HPP
6#define MOLYBDEN_JS_ACCESSIBLE_FIELD_IMPL_DETAIL_HPP
11template <
class C,
class T>
12JsValue JsAccessibleFieldImpl<C, T>::value() {
16template <
class C,
class T>
17bool JsAccessibleFieldImpl<C, T>::setValue(
const JsValue& value) {
18 if (JsValueConverter<T>::isConvertible(value)) {
19 object_->*field_ = JsValueConverter<T>::convert(value);
25template <
class C,
class T>
26JsAccessibleFieldImpl<C, T>::JsAccessibleFieldImpl(C*
object, Field<C, T> field)
27 : object_(object), field_(field) {
28 AreAllConvertibleFromJsDirectly<T>::check();
static JsValue from(T &&value)
Constructs a JavaScript value from the convertible C++ one.
Definition js_value_detail.hpp:51