Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation says this library targets c++ 11, but it uses unique_ptr<T, deleter>, which was introduced in c++14. Which I noticed because the ratty toolchain for my targeted device is stuck on c++11.
Is this considered a bug, and should I open a ticket?
I tried #define unique_ptr shared_ptr, but shared_ptr doesn't have a deleter template parameter option. Same with auto_ptr.
Any other workaround suggestions that preferably don't involve hacking the json.hpp?
I don't actually need custom allocators; is there a way to create my own std::unique_ptr<T, junk> that just aliases auto_ptr?
Beta Was this translation helpful? Give feedback.
All reactions