2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-26 18:42:16 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Dmitry Arkhipov
36552f0c94 remove namespace macros 2023-01-02 18:41:01 +03:00
Dmitry Arkhipov
8659e7d694 value_to supports missing elements for std::optional 2023-01-02 14:09:40 +03:00
Dmitry Arkhipov
893df142b6 fix value_from support for proxy iterators 2022-11-20 19:25:35 +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
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
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
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
31dd295232 Allow external libraries to forward declare value_to/from 2021-10-20 22:35:21 +03:00
Dmitry Arkhipov
351603c9b2 value_to supports std::array 2021-05-23 22:49:02 +03:00
Dmitry Arkhipov
aae1863def value_to supports TupleLike types 2021-04-26 03:33:50 +03:00
Vinnie Falco
531287af2b long double is not a fundamental type:
fix #432

Users have to opt-in to the narrowing conversion
by using static_cast.
2020-10-04 11:21:55 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
94e26abb66 standalone is an inline namespace
fix #181, close #244
2020-09-01 15:44:47 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Vinnie Falco
f47fbeb1a5 Refactor value conversions 2020-06-08 15:11:12 -07:00