|
cxxomfort
rel.20211024
Simple backports for C++ - https://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() .<type_traits>: type_identity , remove_cvref .<type_traits>: is_bounded_array , is_unbounded_array .<utility>: Safe integral comparisons.See also: C++17 Backports C++23 Backports .
Bit operations
std::array from a native C array. constexpr capability to std::count() constexpr capability to std::count_if() constexpr capability to std::find() constexpr capability to std::find_if()
1.8.13