diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-07-14 00:33:40 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-11-09 14:18:02 +0100 |
commit | 653ce3550d18a07194a4c3bb9b4a3d260ed842cd (patch) | |
tree | f08b5d5ddd43bf2b529d9623f045a541f379b3c4 /TODO | |
parent | a1fd00e7e15219c97057c2e245ea9dd0341429d5 (diff) | |
download | qpdf-653ce3550d18a07194a4c3bb9b4a3d260ed842cd.tar.zst |
Require C++-11
Includes updates to m4/ax_cxx_compile_stdcxx.m4 to make it work with
msvc, which supports C++-11 with no flags but doesn't set __cplusplus
to a recent value.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -7,18 +7,15 @@ Fuzz Errors * Problems inside the jpeg library: 15470, 15751, 18633 * Timeout: 17630 -C++-11 (for qpdf 10) -==================== - -* Consider requiring C++-11 for qpdf 10. - -* My c++11 branch adds autoconf tests to require C++-11 and - re-implements PointerHolder so that it is interchangeable with - std::shared_ptr. It is not actually possible to just replace - PointerHolder with std::shared_ptr for two reasons: there is no - automatic creation of std::shared_ptr<T> from T* like there is for - PointerHolder, which breaks some code, and also there is no - automatic conversion from something like +C++-11 +====== + +* My c++11 branch adds re-implements PointerHolder so that it is + interchangeable with std::shared_ptr. It is not actually possible to + just replace PointerHolder with std::shared_ptr for two reasons: + there is no automatic creation of std::shared_ptr<T> from T* like + there is for PointerHolder, which breaks some code, and also there + is no automatic conversion from something like std::vector<PointerHolder<T>> to std::vector<std::shared_ptr<T>>. It may be a good idea to replace PointerHolder with std::shared_ptr in the API even if it requires some work for the developer, but even if |