Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 20572d0eb465e0720c778e7093523c8719dbcb47
Page Name:Implementation Status
Date: 2017-08-07 19:47:52
Original User: luismachuca
Parent: a57b9beb7a6c1df3c391a4a87369244b098fbfcd
Content

List of C++ Standard features backported or emulated by the cxxomfort library.

Last Updates Aug 2017.

C++11 features

(to be completed)

  • n1488, n1601 Null pointer constant. (See Features)
  • n1604, n1720 static_assert. (See Features)
  • n1978, n2343: decltype.
  • n2240: enable_if and conditional.
  • n2243, n2930 "Range-Based for Loop wording". (See Features/Foreach).
  • n2333, n2437: explicit conversion operators (emulation via explicit_cast).
  • n2569: from <algorithm>: any, all, none algorithms; lexicographical compare 3-way.
  • Nonmember iterator helpers begin and end.
  • unique_ptr.
  • Allocator traits.
  • Singly-linked list forward_list.
  • New auto semantics (emulation).
  • Local classes as arguments to templated function calls. (emulation) (See Extras).
  • Brace-list initialization syntax for containers. (emulation) (See Features/SequencesInitialization).
  • ...among others.

C++14 features

  • n3421: Type-transparent <functional> functors.
  • n3584, n3670: get<type>(tuple<...>) to get tuple elements by type.
  • n3588: make_unique for unique_ptr.
  • n3658: integer_sequence.
  • n3668: exchange.
  • n3671 - improved algorithm overloads for equal, mismatch.

C++17 features

  • n3840, n4282 - observer_ptr, the world's dumbest smart pointer. (cppreference)
  • n3911 - make_void, void_t. (emulation) (cppreference)
  • n4391 - make_array.

C++ Proposals

Proposals for C++11 / C++14 that are not yet made into the Standard but are offered by cxxomfort (See Features/Extras):

  • n1878, n3527: Nullable object wrapper optional<T>.
  • n2648: Dynamically allocated array dynarray.
  • n3334: array_ref<T>
  • n335: range<T> proposal.
  • n3824, n4031: make_array.
  • n4017, n4155: Nonmember size.
  • n4380: as_const.
  • Nonmember cbegin, cend complements to begin/end.
  • n3500 New assert variants.
  • n3802 (pdf), n3829: call a function with an unpacked tuple<...> as arguments.

Future

Proposals that might be implemented by cxxomfort in the future:

  • ????