5 Commits

Author SHA1 Message Date
nikitalita
315ffff9e7
Fix any, embedded object, array, and struct serialization (#94)
* add embedded object serialization tests (failing)

* Add empty object tests (failing)

* test for deserializing null field object (failing)

* Fix embedded object deserialization

* Fix serializing empty objects on nlohmann

* Fix nullptr_t handling in `any`

* Add test for de/serializing struct embedded in `object`

* Remove extraneous `get()` from `any`

* fix compiler errors and warnings on gcc

* add `any = dap::null` assignment test

* Remove extraneous template
2023-02-16 23:09:45 +00:00
Ben Clayton
ed0af8fa21 Add lots more tests for dap::any.
Exercise copy, assign, moves.
2020-06-15 15:16:10 +01:00
Ben Clayton
f0c28f93dd Fix moves of any when value isInBuffer
This was copying the pointer to the other's value in other.buffer.
2020-06-10 15:10:57 +01:00
Ben Clayton
d13d4a4151 GCC build fixes 2019-11-14 00:29:38 +00:00
Ben Clayton
2dfd15462f Initial drop of cppdap 2019-11-08 21:58:50 +00:00