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

607 Commits

Author SHA1 Message Date
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
413c6725e7 move merge value_traits.hpp into impl/conversion.hpp 2022-10-19 17:25:35 +03:00
Dmitry Arkhipov
33d243e419 move conversion trait implementation into impl 2022-10-19 17:09:42 +03:00
Dmitry Arkhipov
c70369d8a7 include conversion.hpp in json.hpp 2022-10-19 17:07:04 +03:00
Dmitry Arkhipov
f4031f3ef5 use iterator_traits::value_type 2022-10-19 13:45:47 +03:00
Dmitry Arkhipov
6ff132c64c value_to/from supports std::variant 2022-10-18 15:58:30 +03:00
Dmitry Arkhipov
8daa656b5e remove extra parameter from traits 2022-10-18 13:45:06 +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
e14839caf2 fix detail::inserter return type 2022-10-14 17:02:26 +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
76de28556a remove standalone source_location macros 2022-10-14 15:13:24 +03:00
Dmitry Arkhipov
9e56532169 support unreachable on older GCC 2022-10-11 12:56:08 +03:00
Dmitry Arkhipov
ce83fcba4d tightening is_sequence_like 2022-09-26 18:22:30 +03:00
Dmitry Arkhipov
d5cb8c38a5 tightening is_map_like 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
6d4b6dd23e user-facing conversion traits 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
4d16a31985 same requirements for value_to and value_from 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
59273f4e90 check for round-trip 2022-09-26 12:10:00 +03:00
Dmitry Arkhipov
2661972661 remove conversion from value_ref 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
Guðmundur F. Aðalsteinsson
47f2ad5509 Refactor object::erase 2022-09-16 21:12:14 +00:00
Guðmundur F. Aðalsteinsson
e1088609c2 Improve erase and stable_erase documentation 2022-09-02 13:11:33 +00:00
Gudmundur F. Adalsteinsson
1b3eb61c57 More precise invalidation specification 2022-08-29 20:04:21 +00:00
Gudmundur F. Adalsteinsson
7ac8cae9d3 Refactor out relocation function 2022-08-29 17:32:03 +00: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
Cameron Angus
4b9cc3c975 Fixed incorrect precondition documentation for serializer::read. 2022-08-18 21:10:04 +01:00
Dmitry Arkhipov
7ecbeccee6 fix docs for object insertion members 2022-07-26 13:52:40 +03:00
Dmitry Arkhipov
d7f271d965 link to example of parser handler usage 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
5874418faa fail macro 2022-06-21 21:15:13 +03:00
Dmitry Arkhipov
f1b9420f04 add comment clarifying implementation 2022-06-11 18:28:46 +03:00
Dmitry Arkhipov
a3bd9207fa fix s390x build 2022-06-10 20:08:05 +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
Dmitry Arkhipov
8ad666f053 deduce endianness of the platform 2022-06-09 18:59:42 +03:00
Vinnie Falco
76a1fa7a00 remove unused header
fix #714
2022-06-09 05:21:22 -07:00
Vinnie Falco
4797be3eac silence friend warning 2022-05-27 21:45:13 +03:00
Dmitry Arkhipov
002feebb83 refactor string comparison operators 2022-05-27 21:45:07 +03:00
Dmitry Arkhipov
841296c865 document string::subview() separately 2022-05-27 21:41:21 +03:00
Vinnie Falco
81664c693a better subview
fix #708
2022-05-27 21:41:14 +03:00
Dmitry Arkhipov
b6e632b5ff remove unnecessary stream constructors 2022-05-25 12:38:41 +03:00
Dmitry Arkhipov
95a6297480 non-const value::at overloads 2022-05-23 19:35:29 +03:00
Vinnie Falco
5ca4fb363e serialize growth policy is 2x 2022-05-14 18:45:17 +03:00