diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-26 21:42:02 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | 59b775104a4b80aba836163c1530e4117c3ad4bd (patch) | |
tree | 762828fa19e235efc6cf08fa0a00e84c00c64cb0 | |
parent | 01969c78a8f93af26c71ecff7ce36511b17d46c7 (diff) | |
download | qpdf-59b775104a4b80aba836163c1530e4117c3ad4bd.tar.zst |
TODO note
-rw-r--r-- | TODO | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -6,8 +6,15 @@ Next be like QPDFObjectHandle::parse: `auto oh = "<< /a (b) >>"_qpdf;` * Add QPDF_MAJOR_VERSION, QPDF_MINOR_VERSION to some header, possibly dll.h since this is everywhere that there's API + * Take a fresh look at PointerHolder with a good plan for being able - to have developers phase it in using macros or something. + to have developers phase it in using macros or something. Decide + about shared_ptr vs unique_ptr for each time make_shared_cstr is + called. For non-copiable classes, we can use unique_ptr instead of + shared_ptr as a replacement for PointerHolder. For performance + critical cases, we could potentially have a real pointer and a + shared pointer where the shared pointer's job is to clean up but we + use the real pointer for regular access. Consider in the context of #593, possibly with a different implementation |