From 59b775104a4b80aba836163c1530e4117c3ad4bd Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 26 Jan 2022 15:42:02 -0500 Subject: TODO note --- TODO | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index c657a89d..a3c80230 100644 --- a/TODO +++ b/TODO @@ -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 -- cgit v1.2.3-54-g00ecf