mirror of https://github.com/qpdf/qpdf.git
Remove uninitialized error idea
QPDFObjectHandle gets copied a lot, so let's not add another field. For performance reasons, QPDFObjectHandle does not indirect through a smart pointer, so this would also be an ABI change.
This commit is contained in:
parent
5d26f29eeb
commit
038dd2d5ee
10
TODO
10
TODO
|
@ -11,16 +11,6 @@ Next
|
|||
|
||||
* Consider creating a qpdf wiki. See also Documentation below.
|
||||
|
||||
* For QPDFObjectHandle, provide a way on and after construction
|
||||
to specify the error message that will be thrown if the
|
||||
uninitialized object is accessed. Attach this to the trailer or any
|
||||
other uninitialized object handle that might be returned. Explain in
|
||||
getTrailer() that we don't explicitly check since the trailer is
|
||||
only uninitialized when the user doesn't call a process method, and
|
||||
adding a check for every call will be expensive. Make sure the error
|
||||
thrown when an uninitialized trailer is accessed provides useful
|
||||
information. Test from the C API as well as the C++ API.
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
|
|
Loading…
Reference in New Issue