Dmitry Arkhipov
427baa6e47
remove dependency on StaticAssert
2025-10-24 19:33:52 +03:00
Dmitry Arkhipov
bfedf3ca5d
enable conversion for derived described structs
2025-06-25 14:07:55 +03:00
Dmitry Arkhipov
2883ff1689
conversion of described classes supports private members
2024-03-02 10:59:31 +03:00
Dmitry Arkhipov
bacc644f93
deprecate type aliases
2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
14dfadb44b
add conversion support for paths
2024-02-06 20:01:31 +03:00
Dmitry Arkhipov
194aefb376
do not allow self-referential sequences
...
If the sequence's value type is the same type as the sequence, our
sequence conversion algorithms can't handle them, because they clearly
have some additional data associated with them. As such, they need
special treatment.
2024-02-05 14:07:15 +03:00
Dmitry Arkhipov
3956bdbb78
fix asan failures
...
Changes to array sizes in tests are due to asan bug.
2023-06-07 14:12:57 +03:00
Dmitry Arkhipov
b9e8b2edfe
contextual conversions
2023-06-01 21:45:56 +03:00
Dmitry Arkhipov
36552f0c94
remove namespace macros
2023-01-02 18:41:01 +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
7f10decb61
opt-in null-like conversion
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
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
92463f9f36
Remove unnecessary semicolon
2021-03-17 10:42:58 -07:00
Dmitry Arkhipov
e580ace767
value_from supports char const*
2021-03-04 22:08:59 +03:00
Dmitry Arkhipov
932b97e5ce
Refactor value_from implementation:
...
fix #481 , close #483
Remove internal uses of tag_invoke,
only using it from now on for user
customizations.
2021-01-12 15:10:14 -08:00
Krystian Stasiowski
2b074ee053
value_to/from don't use user-provided conversion functions
2020-10-27 14:03:52 -07:00
Vinnie Falco
9b86962fbc
Add metadata and update repo links
2020-10-04 11:06:25 -07:00
Vinnie Falco
591e2dc5a5
serializer refactor (API Change):
...
fix #275
* serialize() replaces to_string()
* serialize.hpp replaces to_string.hpp
* serializer works on all types
* serialize, operator<< work on all types
* reset() takes pointer arguments
* resetting constructor removed
2020-09-07 10:36:26 -07:00
Vinnie Falco
94e26abb66
standalone is an inline namespace
...
fix #181 , close #244
2020-09-01 15:44:47 -07:00
Vinnie Falco
2cebc31222
to_string is in its own header
2020-08-27 13:48:26 -07:00
Krystian Stasiowski
904252de0b
Fix repo links
...
close #123
2020-07-03 11:51:58 -07:00
AeroStun
4d1587900f
Make key_value_pair tuple-like
...
close #112 , close #121
2020-06-30 16:56:42 -07:00
AeroStun
856f9169df
Remove duplicate static_assert
2020-06-30 13:06:55 -07:00
Vinnie Falco
f47fbeb1a5
Refactor value conversions
2020-06-08 15:11:12 -07:00