5 Commits

Author SHA1 Message Date
Brad King
79562e0742 any: Add missing include <stdint.h>
We use `uint8_t` and `uintptr_t` from this header.
2023-05-22 23:27:25 +01:00
Brad King
385f9ed3ad
any: Tell clang-analyzer a pointer is not nullptr (#107)
Previously, clang-analyzer warned:

    /.../any.h:146:5: warning: Called C++ object pointer is null [core.CallAndMessage]
2023-05-17 20:02:57 +01:00
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
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
2dfd15462f Initial drop of cppdap 2019-11-08 21:58:50 +00:00