#include <json.hpp>
|
| Number () |
|
template<typename T > |
| Number (T _value, typename std::enable_if< std::is_floating_point< T >::value, int >::type=0) |
|
template<typename T > |
| Number (T _value, typename std::enable_if< std::is_integral< T >::value &&std::is_signed< T >::value, int >::type=0) |
|
template<typename T > |
| Number (T _value, typename std::enable_if< std::is_integral< T >::value &&std::is_unsigned< T >::value, int >::type=0) |
|
template<typename T > |
T | as () const |
|
Enumerator |
---|
FLOATING |
|
SIGNED_INTEGER |
|
UNSIGNED_INTEGER |
|
template<typename T >
JSON::Number::Number |
( |
T |
_value, |
|
|
typename std::enable_if< std::is_floating_point< T >::value, int >::type |
= 0 |
|
) |
| |
|
inline |
template<typename T >
JSON::Number::Number |
( |
T |
_value, |
|
|
typename std::enable_if< std::is_integral< T >::value &&std::is_signed< T >::value, int >::type |
= 0 |
|
) |
| |
|
inline |
template<typename T >
JSON::Number::Number |
( |
T |
_value, |
|
|
typename std::enable_if< std::is_integral< T >::value &&std::is_unsigned< T >::value, int >::type |
= 0 |
|
) |
| |
|
inline |
template<typename T >
T JSON::Number::as |
( |
| ) |
const |
|
inline |
int64_t JSON::Number::signed_integer |
uint64_t JSON::Number::unsigned_integer |
double JSON::Number::value |
The documentation for this struct was generated from the following file: