mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
implemented idea from #290
This commit is contained in:
@ -5942,7 +5942,7 @@ class basic_json
|
|||||||
template<typename CharPT, typename std::enable_if<
|
template<typename CharPT, typename std::enable_if<
|
||||||
std::is_pointer<CharPT>::value and
|
std::is_pointer<CharPT>::value and
|
||||||
std::is_integral<typename std::remove_pointer<CharPT>::type>::value and
|
std::is_integral<typename std::remove_pointer<CharPT>::type>::value and
|
||||||
sizeof(std::remove_pointer<CharPT>) == 1, int>::type = 0>
|
sizeof(typename std::remove_pointer<CharPT>::type) == 1, int>::type = 0>
|
||||||
static basic_json parse(const CharPT s,
|
static basic_json parse(const CharPT s,
|
||||||
const parser_callback_t cb = nullptr)
|
const parser_callback_t cb = nullptr)
|
||||||
{
|
{
|
||||||
|
@ -5942,7 +5942,7 @@ class basic_json
|
|||||||
template<typename CharPT, typename std::enable_if<
|
template<typename CharPT, typename std::enable_if<
|
||||||
std::is_pointer<CharPT>::value and
|
std::is_pointer<CharPT>::value and
|
||||||
std::is_integral<typename std::remove_pointer<CharPT>::type>::value and
|
std::is_integral<typename std::remove_pointer<CharPT>::type>::value and
|
||||||
sizeof(std::remove_pointer<CharPT>) == 1, int>::type = 0>
|
sizeof(typename std::remove_pointer<CharPT>::type) == 1, int>::type = 0>
|
||||||
static basic_json parse(const CharPT s,
|
static basic_json parse(const CharPT s,
|
||||||
const parser_callback_t cb = nullptr)
|
const parser_callback_t cb = nullptr)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user