Compiler Support
We will conclude this section with the provision of compiler support for the changes to the Standard Library, introduced by C++ 17.
We'll cover the following
Compiler support
Feature | GCC | Clang | MSVC |
---|---|---|---|
std::byte |
7.1 | 5.0 | VS 2017 15.3 |
Improvements for Maps and Sets | 7.0 | 3.9 | VS 2017 15.5 |
insert_or_assign() /try_emplace() for maps |
6.1 | 3.7 | VS 2017 15 |
Emplace Return Type | 7.1 | 4.0 | VS 2017 15.3 |
Sampling algorithms | 7.1 | In Progress | VS 2017 15 |
gcd and lcm |
7.1 | 4.0 | VS 2017 15.3 |
clamp |
7.1 | 3.9 | VS 2015.3 |
Special Mathematical Functions | 7.1 | Not yet | VS 2017 15.7 |
Shared Pointers and Arrays | 7.1 | In Progress | VS 2017 15.5 |
Non-member size() , data() and empty() |
6.1 | 3.6 | VS 2015 |
constexpr Additions to the Standard Library |
7.1 | 4.0 | VS 2017 15.3 |
scoped_lock |
7.1 | 5.0 | VS 2017 15.3 |
Polymorphic Allocator & Memory Resource | 9.1 | In Progress | VS 2017 15.6 |
Get hands-on with 1400+ tech skills courses.