Boost C++ 库

...世界上评价最高、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

条件 - Boost C++ 函数库

condition

对应 JSON 错误的错误条件。

提要

在头文件 <boost/json/error.hpp> 中定义。

enum class condition;

名称 描述

parse_error

与解析器相关的错误。

pointer_parse_error

与解析 JSON 指针字符串相关的错误。

pointer_use_error

与将 JSON 指针字符串应用于值相关的错误。

conversion_error

转换错误。

generic_error

通用错误。

方便的头文件 <boost/json.hpp>