JSON for Modern C++  3.0
nlohmann::has_mapped_type< T > Struct Template Reference

#include <json.hpp>

Collaboration diagram for nlohmann::has_mapped_type< T >:

Public Types

enum  { value = sizeof(test<T>(0)) == sizeof(char) }
 

Static Private Member Functions

template<typename C >
static char test (typename C::mapped_type *)
 
template<typename C >
static int test (...)
 

Detailed Description

template<typename T>
struct nlohmann::has_mapped_type< T >

Definition at line 61 of file json.hpp.

Member Enumeration Documentation

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 67 of file json.hpp.

67 { value = sizeof(test<T>(0)) == sizeof(char) };

Member Function Documentation

template<typename T >
template<typename C >
static char nlohmann::has_mapped_type< T >::test ( typename C::mapped_type *  )
staticprivate
template<typename T >
template<typename C >
static int nlohmann::has_mapped_type< T >::test (   ...)
staticprivate

The documentation for this struct was generated from the following file: