compilers_feature_support

C++17 feature VS 2019 16.6; cl.exe 19.26.28806 Ubuntu 16.04 GCC 5.4 Ubuntu 18.04 GCC 7.4 Ubuntu 20.04 GCC 9.3 Xcode 11.5; Apple clang 11.0.3 (LLVM 9.0.0)
Nested namespace definition
Fold expressions
Pack expansion in using
Lambda capture *this
constexpr lambdas ½
Range for heterogeneous iterators
fallthrough attribute
if constexpr
if-init and switch-init
Structured bindings
Class template argument deduction
Inline variables
auto non-type template parameters
Guaranteed copy elision
std::void_t
std::bool_constant
std::string_view
std::optional
std::variant
std::any
std::invoke
std::as_const
Traits _v alias variables

See also http://en.cppreference.com/w/cpp/compiler_support

  • compilers_feature_support.txt
  • Last modified: 2021/04/17 23:08
  • by msutcliffe