Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/user defined types bis #355

Closed
Closed
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ca811a2
add first version support for user-defined types
Oct 16, 2016
8da5ad5
fix compilation on gcc-6
theodelrieu Oct 17, 2016
528315f
anonymous namespace renamed to detail
theodelrieu Oct 17, 2016
d6fea62
wip: add free function to_json/from_json support
theodelrieu Oct 17, 2016
2bb49e1
wip: modify from_json prototype
Oct 18, 2016
3bbccb1
wip: add get_impl overload that uses free from_json method
Oct 18, 2016
eb58a4e
add alias templates to reduce boilerplate
theodelrieu Oct 18, 2016
d2f8d43
revert useless formatting
Oct 20, 2016
34c9f09
rename __static_const to _static_const (reserved identifier)
Oct 20, 2016
27d4416
use uncvref_t<T> instead of remove_cv_t<remove_reference_t<T>>>
Oct 20, 2016
93dabed
remove has_destructor and has_json_traits, use decltype instead
Oct 20, 2016
d36ae18
move most SFINAE trickery in to/from_json_fn
Oct 21, 2016
e90553f
fix compilation on vs2015 (taken from MS-ranges)
Oct 22, 2016
0ec64b6
fix compilation on gcc 4.9
theodelrieu Oct 23, 2016
7d6dbcf
add first version for alternate implementation
theodelrieu Nov 7, 2016
d45533b
add template arguments for JSONSerializer
Nov 8, 2016
7dbafbe
renamed unit-constructor3.cpp to unit-udt.cpp
Nov 8, 2016
75a9cf1
to_json and from_json takes both two arguments now
theodelrieu Nov 9, 2016
88f7eb6
fix compilation: add a return in constexpr functions
Nov 10, 2016
a5d81ff
add basic test for custom serializer
Nov 15, 2016
b1e4717
add is_compatible_* traits
theodelrieu Nov 16, 2016
c41e03b
remove constraints on JSONSerializer instances, constrain correctly n…
theodelrieu Nov 16, 2016
c8102d2
add negation, disjunction, and conjunction from C++17
theodelrieu Nov 20, 2016
b97eb4d
correctly constrain basic_json udt constructor
Nov 21, 2016
8424215
add a macro for has_xxx types
Nov 17, 2016
ec5ba4c
add is_compatible_basic_json_type trait
Nov 21, 2016
58b145f
only use conjunction & co when needed to avoid MSVC crashing
Nov 22, 2016
453fe5d
format biggest lines
theodelrieu Nov 23, 2016
cd82e8e
remove some useless checks, format a bit, added some comments
Nov 24, 2016
4e0ac59
add a few tests
theodelrieu Nov 26, 2016
a645a76
add support for non-default-constructible udt
Nov 29, 2016
dabe99f
rewrite unit-udt: basic usage
Nov 30, 2016
4c1e846
remove explicit keyword on udt-constructor
theodelrieu Dec 4, 2016
17ce87d
add an enum constructor (quickfix)
theodelrieu Dec 7, 2016
f9e02e9
add more tests to unit-udt.cpp
theodelrieu Dec 13, 2016
13082c1
add support for enum classes
theodelrieu Dec 13, 2016
b6ef4f7
fix msvc, by doubling parenthesis on catch assertions
theodelrieu Dec 14, 2016
301af87
use u8 prefix in unit-udt.cpp
theodelrieu Dec 14, 2016
35682b4
add more tests
theodelrieu Dec 14, 2016
59ffbab
fix tests, avoid instantiating JSONSerializer when it will not be used
Dec 15, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading