mirror of
https://github.com/nlohmann/json.git
synced 2025-07-25 13:41:56 +03:00
Make exception base class visible in basic_json
This commit is contained in:
@ -1264,6 +1264,8 @@ class basic_json
|
|||||||
/// Classes to implement user-defined exceptions.
|
/// Classes to implement user-defined exceptions.
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
/// @copydoc detail::exception
|
||||||
|
using exception = detail::exception;
|
||||||
/// @copydoc detail::parse_error
|
/// @copydoc detail::parse_error
|
||||||
using parse_error = detail::parse_error;
|
using parse_error = detail::parse_error;
|
||||||
/// @copydoc detail::invalid_iterator
|
/// @copydoc detail::invalid_iterator
|
||||||
|
@ -1264,6 +1264,8 @@ class basic_json
|
|||||||
/// Classes to implement user-defined exceptions.
|
/// Classes to implement user-defined exceptions.
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
/// @copydoc detail::exception
|
||||||
|
using exception = detail::exception;
|
||||||
/// @copydoc detail::parse_error
|
/// @copydoc detail::parse_error
|
||||||
using parse_error = detail::parse_error;
|
using parse_error = detail::parse_error;
|
||||||
/// @copydoc detail::invalid_iterator
|
/// @copydoc detail::invalid_iterator
|
||||||
|
Reference in New Issue
Block a user