Lines Matching defs:obj
4864 inline void from_json(const BasicJsonType& j, ConstructibleObjectType& obj)
4881 obj = std::move(ret);
5531 static void construct(BasicJsonType& j, const typename BasicJsonType::object_t& obj)
5535 j.m_value = obj;
5541 static void construct(BasicJsonType& j, typename BasicJsonType::object_t&& obj)
5545 j.m_value = std::move(obj);
5552 static void construct(BasicJsonType& j, const CompatibleObjectType& obj)
5559 j.m_value.object = j.template create<typename BasicJsonType::object_t>(begin(obj), end(obj));
5673 inline void to_json(BasicJsonType& j, const CompatibleObjectType& obj)
5675 external_constructor<value_t::object>::construct(j, obj);
5679 inline void to_json(BasicJsonType& j, typename BasicJsonType::object_t&& obj)
5681 external_constructor<value_t::object>::construct(j, std::move(obj));
19561 auto deleter = [&](T * obj)
19563 AllocatorTraits::deallocate(alloc, obj, 1);
19565 std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19566 AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19567 JSON_ASSERT(obj != nullptr);
19568 return obj.release();
20688 static ReferenceType get_ref_impl(ThisType& obj)
20691 auto* ptr = obj.template get_ptr<typename std::add_pointer<ReferenceType>::type>();
20698 JSON_THROW(type_error::create(303, detail::concat("incompatible ReferenceType for get_ref, actual type is ", obj.type_name()), &obj));