Update minimum required C++ version for Ceres to C++14

- Removes all workarounds for pre-C++14 versions
- Removes '11' qualifier from C++ threading option and associated
  defines.
- Fix missing inclusion of 'Multithreading' in reported Ceres components
  when C++ threading model is enabled.
- Update Sphinx documentation to specify C++14 as minimum requirement.

Change-Id: I706c8b367b3221e3c4d1a0aaf669a8f9c911e438
This commit is contained in:
Alex Stewart
2020-05-30 11:30:01 +01:00
parent 1d75e75681
commit 7ef83e0759
35 changed files with 124 additions and 602 deletions
+2 -2
View File
@@ -31,7 +31,7 @@
// This include must come before any #ifndef check on Ceres compile options.
#include "ceres/internal/port.h"
#ifdef CERES_USE_CXX11_THREADS
#ifdef CERES_USE_CXX_THREADS
#include <chrono>
#include <thread>
@@ -304,4 +304,4 @@ TEST(ConcurrentQueue, StopAndEnableWaiters) {
} // namespace internal
} // namespace ceres
#endif // CERES_USE_CXX11_THREADS
#endif // CERES_USE_CXX_THREADS