2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 23:22:27 +00:00
Commit Graph

416 Commits

Author SHA1 Message Date
Dmitry Arkhipov
77c94f5cd2 rvalue-ref accessors 2022-10-24 14:57:09 +03:00
Dmitry Arkhipov
69bf0bbb49 replace C fp constants with C++ equivalents 2022-10-22 16:48:59 +03:00
Dmitry Arkhipov
c130202491 add handling for missing error codes 2022-10-21 13:26:23 +03:00
Dmitry Arkhipov
76e1dba8ba value_to/from supports described enums 2022-10-20 21:02:48 +03:00
Dmitry Arkhipov
ce2b5f82ac value_to/from supports described structs 2022-10-20 21:02:48 +03:00
Dmitry Arkhipov
d1ecadde2b error condition for generic library errors 2022-10-19 17:28:32 +03:00
Dmitry Arkhipov
74bac2c749 remove condition::assign_error 2022-10-19 17:28:32 +03:00
Dmitry Arkhipov
6ff132c64c value_to/from supports std::variant 2022-10-18 15:58:30 +03:00
Dmitry Arkhipov
8033159b71 value_to/from supports std::optional 2022-10-16 10:31:59 +03:00
Dmitry Arkhipov
db3675d8c4 result_from_errno 2022-10-15 15:18:50 +03:00
Dmitry Arkhipov
0d8a14c3a1 non-throwing conversions 2022-10-14 17:22:23 +03:00
Dmitry Arkhipov
ce659d1666 don't include value_from.hpp from impl/value_ref.hpp 2022-10-14 17:02:26 +03:00
Dmitry Arkhipov
ce144b57e4 hide mismatched-tags warning 2022-09-29 12:58:14 +03:00
Dmitry Arkhipov
77a2183c5b tests for conversion traits 2022-09-26 18:22:30 +03:00
Dmitry Arkhipov
a3cf6478f5 bring coverage back 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
7f10decb61 opt-in null-like conversion 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
3ccb526ee7 conversion to nullptr_t 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
b2d5b864ff refactor conversion
* take advantage of mp11
* split container_traits into several traits and helpers
* split map_traits into several traits
* use value_type more consistently
* refactor detail::inserter
* use detail::inserter with map-like types
* refactor conversion of tuple-like to array
* require unique keys for ToMapLike types (without it multimaps don't
  round-trip)
2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
dff6f8d4ab do not use value_from in value_ref constructor 2022-09-26 12:10:00 +03:00
Gudmundur F. Adalsteinsson
503eab84d5 object::stable_erase 2022-08-29 16:43:12 +00:00
Dmitry Arkhipov
2cbc263ced array self-swap 2022-08-28 13:35:03 +03:00
Dmitry Arkhipov
aaefd66bb1 string self-swap and self-move 2022-08-28 09:08:18 +03:00
Dmitry Arkhipov
b8d831b373 better showcase value::to_number 2022-07-26 13:52:40 +03:00
Dmitry Arkhipov
9e3ac1e873 remove remnants of old conversion approach in docs 2022-07-26 13:52:40 +03:00
Dmitry Arkhipov
75367a814e fix handling of comment after trailing comma 2022-06-30 18:01:14 +03:00
Dmitry Arkhipov
cc019f753b make basic_parser tests informative in CI 2022-06-10 20:08:05 +03:00
Dmitry Arkhipov
c6d46a45e7 utf8 tests 2022-06-10 20:03:47 +03:00
Vinnie Falco
81664c693a better subview
fix #708
2022-05-27 21:41:14 +03:00
Dmitry Arkhipov
95a6297480 non-const value::at overloads 2022-05-23 19:35:29 +03:00
sehe
98d37f9370 Clarify invalidation rules for object
The reference/iterator invalidation rules can surprise people who expect
associative containers to be node-based, similar to `std::[unordered_]map`.

This calls it out more visibly to avoid surprises.
2022-05-14 20:18:42 +03:00
Dmitry Arkhipov
07e3ef1947 array::erase(it) defers to array::erase(it,it) 2022-05-14 15:39:32 +03:00
Dmitry Arkhipov
c901d28f82 JSON pointer implementation 2022-03-02 13:52:18 +03:00
Dmitry Arkhipov
eb6441465a fix linking issues for limits.cpp 2022-02-21 15:35:39 +03:00
Dmitry Arkhipov
56eaebf1cb add source_location to error_codes 2022-02-18 14:31:47 +03:00
Dmitry Arkhipov
6fc14477bb Switch to core::string_view 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
1523954c98 Add std::error_code overloads 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
d20a814685 Remove standalone 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
1d7cbc2e55 Fix clang 3.5 failures 2021-12-05 14:05:38 +03:00
Dmitry Arkhipov
54397e6605 Fix standalone build in CI 2021-10-22 14:47:58 +03:00
Dmitry Arkhipov
31dd295232 Allow external libraries to forward declare value_to/from 2021-10-20 22:35:21 +03:00
Dmitry Arkhipov
9e422287fa Deprecate standalone 2021-10-20 22:34:27 +03:00
Dmitry Arkhipov
a63c6ff301 b2 feature for standlaone mode 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
a30b76c51b Remove unnecessary build script code 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
5b45854bb0 Fix signed integer overflow in exponent parsing 2021-08-20 11:54:38 +03:00
Dmitry Arkhipov
745be88916 Refactor CMakeLists
* Overhaul of dealing with CMake use cases
* Put target property setup into a function
* Fix test standalone_with_boost for CMake
* Other minor fixes/edits
2021-06-28 10:12:04 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Dmitry Arkhipov
351603c9b2 value_to supports std::array 2021-05-23 22:49:02 +03:00
Dmitry Arkhipov
562c9f5e7e value_from supports std::array 2021-05-23 09:58:11 +03:00
Dmitry Arkhipov
b040917ced key_value_pair allocates with the correct alignment 2021-05-22 21:20:45 +03:00
Dmitry Arkhipov
a3edd051e2 checking_resource for testing allocations 2021-05-22 21:20:45 +03:00