-
Notifications
You must be signed in to change notification settings - Fork 109
Cxx14
Kai Pastor edited this page Jun 5, 2017
·
1 revision
C++14 is used for all builds of Mapper.
This page documents the usage of C++14 features in OpenOrienteering Mapper.
auto
Initializer Lists
Nonmember begin
and end
nullptr
override
and final
Range-based `for-loop
R-Value References and std::move
Smart Pointers, esp. std::unique_ptr
, and also std::make_unique
static_assert
Unicode String Literals (MSVC support unknown)
Apple delivers C++11 with LLVM's Clang and libc++. This is the standard since Xcode 4.5. However, Apple does not provide libc++ for OS X 10.6 (Snow Leopard) which was released on 28 August 2009, but is still widely used.
MSCV implements some features only in version 11 or newer. However, MSVC is not supported at the moment.
- Elements of Modern C++ Style by Herb Sutter