Commit 6e6e1c9b authored by Niels's avatar Niels

implemented idea from #290

parent f76f9efe
...@@ -5942,7 +5942,7 @@ class basic_json ...@@ -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 ...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment