I’ll write about the rest of the fixes soon.) For example, we’ve implemented every occurrence of constexpr in C++17-so-far’s STL, with a very small number of exceptions, which are tracked by DevDiv#1184873/ Connect#1414341 and DevDiv#1188232: A year ago, I listed the first batch of fixes. (By the way, we’ve fixed roughly 160 bugs in the STL between 20. On top of that, our C++17-so-far Standard Library implementation is complete, except for pair/tuple improvements ( N4387) and untimed shared_mutex ( N4508), plus 10 Library Issues. On top of that, our C++14 Standard Library implementation is complete, except for Expression SFINAE in result_of ( N3462) and std::function ( LWG 2132), plus 11 more Library Issues. On top of that, our C++11 Standard Library implementation is complete. Here’s a detailed summary of our status: Our C99 Standard Library implementation is complete, except for tgmath.h (which is irrelevant in C++) and the CX_LIMITED_RANGE/FP_CONTRACT pragma macros. I’ve listed them as Not Applicable for the sake of completeness. “N/A” means that these proposals altered the Standard’s wording, but did not physically affect implementers or users. Now would be a good time to start migrating your code. In the next major version, I’m planning to make this opt-out, and in the major version after that, I’m planning to eliminate auto_ptr/etc. If you define _HAS_AUTO_PTR_ETC to 0 project-wide (which you should do via the command line or project file, not via #define), then we won’t provide auto_ptr/etc. “2015 opt-in” means that this is guarded by a macro. Supporting Incomplete Types In vector/list/forward_list Transparent Operator Functors (less, etc.) Precisely Constraining unique_ptr Assignment Insert_or_assign()/try_emplace() For map/unordered_map Removing auto_ptr, random_shuffle(), And Old Stuff Renaming shared_mutex (Timed) To shared_timed_mutex Fixing constexpr Member Functions Without constĭual-Range equal(), is_permutation(), mismatch()
0 Comments
Leave a Reply. |