Logo ROOT   6.16/01
Reference Guide
List of all members | Static Public Attributes | Static Private Member Functions | List of all members
nlohmann::detail::has_from_json< BasicJsonType, T > Struct Template Reference

template<typename BasicJsonType, typename T>
struct nlohmann::detail::has_from_json< BasicJsonType, T >

Definition at line 474 of file json.hpp.

Static Public Attributes

static constexpr bool value
 

Static Private Member Functions

static void detect (...)
 
template<typename U >
static int detect (U &&)
 

#include </home/sftnight/build/workspace/root-makedoc-v616/rootspi/rdoc/src/v6-16-00-patches/io/io/res/json.hpp>

Member Function Documentation

◆ detect() [1/2]

template<typename BasicJsonType , typename T >
static void nlohmann::detail::has_from_json< BasicJsonType, T >::detect (   ...)
staticprivate

◆ detect() [2/2]

template<typename BasicJsonType , typename T >
template<typename U >
static int nlohmann::detail::has_from_json< BasicJsonType, T >::detect ( U &&  )
staticprivate

Member Data Documentation

◆ value

template<typename BasicJsonType , typename T >
constexpr bool nlohmann::detail::has_from_json< BasicJsonType, T >::value
staticconstexpr
Initial value:
= std::is_integral<decltype(
detect(std::declval<typename BasicJsonType::template json_serializer<T, void>>()))>::value
static constexpr bool value
Definition: json.hpp:484

Definition at line 484 of file json.hpp.


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