template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename T , typename std::enable_if< not(std::is_same< T, int >::value) and std::is_same< T, number_integer_t >::value, int >::type = 0>
- Template Parameters
-
| T | helper type to compare number_integer_t and int |
- Parameters
-
| value | an integer to create a JSON number from |
This constructor takes care about explicitly passed values of type number_integer_t. However, this constructor would have the same signature as the existing one for const int values, so we need to switch this one off in case number_integer_t is the same as int.