5#ifndef MOLYBDEN_FIELD_CONTAINER_DETAIL_HPP
6#define MOLYBDEN_FIELD_CONTAINER_DETAIL_HPP
11template <
class C,
class T>
12int FieldContainer::addField(Field<C, T> field,
const char* name) {
13 std::lock_guard lock{mutex_};
16 new internal::JsAccessibleFieldImpl<C, T>(
static_cast<C*
>(
this), field));