A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
Throws error:
error: third operand to the conditional operator is of type 'void', but the second operand is neither a throw-expression nor of type 'void'
261 | ? get()
https://github.com/danielaparker/jsoncons/blob/b883d895ec25ed21b084cd4c78ae3c2725737f68/include/jsoncons/detail/optional.hpp#L261
Throws error: error: third operand to the conditional operator is of type 'void', but the second operand is neither a throw-expression nor of type 'void' 261 | ? get()