Static Public Attributes | Static Private Member Functions | List of all members
nlohmann::detail::has_to_json< BasicJsonType, T > Struct Template Reference

#include <json.hpp>

Static Public Attributes

static constexpr bool value
 

Static Private Member Functions

template<typename U , typename = decltype(uncvref_t<U>::to_json( std::declval<BasicJsonType&>(), std::declval<T>()))>
static int detect (U &&)
 
static void detect (...)
 

Detailed Description

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

Definition at line 451 of file json.hpp.

Member Function Documentation

template<typename BasicJsonType , typename T >
template<typename U , typename = decltype(uncvref_t<U>::to_json( std::declval<BasicJsonType&>(), std::declval<T>()))>
static int nlohmann::detail::has_to_json< BasicJsonType, T >::detect ( U &&  )
staticprivate
template<typename BasicJsonType , typename T >
static void nlohmann::detail::has_to_json< BasicJsonType, T >::detect (   ...)
staticprivate

Member Data Documentation

template<typename BasicJsonType , typename T >
constexpr bool nlohmann::detail::has_to_json< BasicJsonType, T >::value
static
Initial value:
= std::is_integral<decltype(detect(
std::declval<typename BasicJsonType::template json_serializer<T, void>>()))>::value

Definition at line 460 of file json.hpp.


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


json_transport
Author(s): Paul Bovbel
autogenerated on Thu Jun 13 2019 19:12:24