Peter Dimov

Results 51 issues of Peter Dimov

Suppose that a user wants to represent `variant` as just the active alternative; that is, when the variant contains `T1`, its `value_from` function just forwards to T1's `value_from`, and similarly...

E.g. ``` std::vector v; std::string_view json = /*...*/; boost::json::parse_into( v, json ); ``` where `X` is something that Boost.Json recognizes, such as a struct with `value_to` defined, or (given #626)...

Basically add https://www.boost.org/doc/libs/1_77_0/libs/describe/doc/html/describe.html#example_to_json and https://www.boost.org/doc/libs/1_77_0/libs/describe/doc/html/describe.html#example_from_json to the library proper so that described structs and classes work automagically, with no additional user effort. An open issue is how to treat base...

https://travis-ci.org/github/boostorg/json/builds/773287795 s390x fails many tests for non-obvious reasons. One thing to note is that it's a big endian platform (the only one such on Travis.) Xcode 7.3 and 8.3 fail...

Now that https://github.com/boostorg/json/pull/522 has added `std::hash` support for the JSON types, adding `hash_value` overloads that simply return the result of `std::hash` (or vice versa) will also enable support for `boost::hash`....

A user of Boost.Test has complained to me that the behavior of `BOOST_TEST(p1 == p2)` when `p1` and `p2` are pointers to `char` is surprising as it silently reinterprets the...

The library-specific _DYN_LINK macros defined by the CMake config files are recognized (https://github.com/boostorg/test/commit/625bafd2cdc3e9a6f338573a17558050e2bd0e58) but the library-specific _NO_LIB macros are not. This used to not matter because the config files used...

uBLAS is one of the two remaining Boost libraries still missing CMake support. This adds it.

enhancement

Currently, `boost::json::serialize(x)` works when `x` is one of `json::value`, `json::array`, `json::object`, `json::string`, and `string_view`. It would be natural to extend it to work for other types. Supporting `nullptr_t` and `bool`...