From 653ce3550d18a07194a4c3bb9b4a3d260ed842cd Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 13 Jul 2019 18:33:40 -0400 Subject: 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. --- TODO | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index c57d83e7..90bf6de2 100644 --- a/TODO +++ b/TODO @@ -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 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 from T* like + there is for PointerHolder, which breaks some code, and also there + is no automatic conversion from something like std::vector> to std::vector>. 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 -- cgit v1.2.3-70-g09d2