DAW JSON Link
Typedefs | Variables
daw::json::DAW_JSON_VER::json_details::container_detect Namespace Reference

Typedefs

template<typename Container >
using container_begin_type = decltype(std::begin(std::declval< Container const & >()))
 
template<typename Container >
using container_end_type = decltype(std::end(std::declval< Container const & >()))
 
template<typename AssociativeContainer >
using container_key_type = typename AssociativeContainer::key_type
 
template<typename AssociativeContainer >
using container_mapped_type = typename AssociativeContainer::mapped_type
 
template<typename T >
using container_value_type = typename T::value_type
 
template<typename T >
using is_value_type_char = std::is_same< char, container_value_type< T > >
 

Variables

template<typename T >
constexpr bool container_detect_v
 

Typedef Documentation

◆ container_begin_type

template<typename Container >
using daw::json::DAW_JSON_VER::json_details::container_detect::container_begin_type = typedef decltype( std::begin( std::declval<Container const &>( ) ) )

◆ container_end_type

template<typename Container >
using daw::json::DAW_JSON_VER::json_details::container_detect::container_end_type = typedef decltype( std::end( std::declval<Container const &>( ) ) )

◆ container_key_type

template<typename AssociativeContainer >
using daw::json::DAW_JSON_VER::json_details::container_detect::container_key_type = typedef typename AssociativeContainer::key_type

◆ container_mapped_type

template<typename AssociativeContainer >
using daw::json::DAW_JSON_VER::json_details::container_detect::container_mapped_type = typedef typename AssociativeContainer::mapped_type

◆ container_value_type

template<typename T >
using daw::json::DAW_JSON_VER::json_details::container_detect::container_value_type = typedef typename T::value_type

◆ is_value_type_char

template<typename T >
using daw::json::DAW_JSON_VER::json_details::container_detect::is_value_type_char = typedef std::is_same<char, container_value_type<T> >

Variable Documentation

◆ container_detect_v

template<typename T >
constexpr bool daw::json::DAW_JSON_VER::json_details::container_detect::container_detect_v
inlineconstexpr
Initial value:
=
std::conjunction_v<daw::is_detected<container_value_type, T>,
daw::is_detected<container_begin_type, T>,
daw::is_detected<container_end_type, T>>