cxxomfort
rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Backports from C++20.
A listing of some of the features backported:
likely
and unlikely
.nodiscard
with message.<algorithm>
: shift_left()
, shift_right()
.<algorithm>
: Consistent container erasure.<algorithm>
: constexpr
for more functions.<bit>
: New header.<bit>
: std
::endian.<functional>
: bind_front()
, unwrap_reference
.<iterator>
: ssize()
.<numeric>
: midpoint()
.<string> , string_view
: starts_with()
, ends_with()
.
From <type_traits>
: type_identity
, remove_cvref
.
From <type_traits>
: is_bounded_array
, is_unbounded_array
.
From <utility>
: Safe integral comparisons.
See also: C++17 Backports C++23 Backports .