Template Struct is_constructible_object_type_impl< BasicJsonType, ConstructibleObjectType, enable_if_t< is_detected< mapped_type_t, ConstructibleObjectType >::value and is_detected< key_type_t, ConstructibleObjectType >::value > >

Struct Documentation

template<typename BasicJsonType, typename ConstructibleObjectType>
struct is_constructible_object_type_impl<BasicJsonType, ConstructibleObjectType, enable_if_t<is_detected<mapped_type_t, ConstructibleObjectType>::value and is_detected<key_type_t, ConstructibleObjectType>::value>>

Public Types

using object_t = typename BasicJsonType::object_t

Public Static Attributes

static constexpr bool value  =(std::is_default_constructible<ConstructibleObjectType>::value and          (std::is_move_assignable<ConstructibleObjectType>::value or           std::is_copy_assignable<ConstructibleObjectType>::value) and          (std::is_constructible<typename ConstructibleObjectType::key_type,           typename object_t::key_type>::value and           std::is_same <           typename object_t::mapped_type,           typename ConstructibleObjectType::mapped_type >::value)) or         (has_from_json<BasicJsonType,          typename ConstructibleObjectType::mapped_type>::value orhas_non_default_from_json<BasicJsonType,typename ConstructibleObjectType::mapped_type >::value)