cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
C++11 Backports

Backports from C++11.

C++11 adds a large number of features such as variadic templates, constexpr , static asserts and much improved template support and metaprogramming.

A listing of some of the features backported:

See also: C++03 Backports C++14 Backports C++17 Backports .

Member cxxomfort::cxxostd::addressof (T &arg)
Take the address of an object, even in presence of overloaded & unary. memory/addressof @ cppreference
Member cxxomfort::cxxostd::find_if (It ini, It fin, Pred f)
Find an element matching a predicate
Member cxxomfort::cxxostd::find_if_not (It ini, It fin, Pred f)
Find an element not matching a predicate
Member cxxomfort::cxxostd::is_permutation (It1 ini1, It1 fin1, ItA iniA)
Checks if a sequence is a permutation of another. Source: cppreference.com
Member cxxomfort::cxxostd::is_sorted (Iterator ini, Iterator fin, Compare less)
Check if a given sequence is sorted by a given criteria
Member cxxomfort::cxxostd::minmax (T const &a, T const &b, Comparator Less)
Find the minimum and maximum elements in a sequence
Member cxxomfort::cxxostd::minmax_element (FIterator ini, FIterator fin, Comparator less)
minmax_elements
Member cxxomfort::cxxostd::shuffle (RAIterator ini, RAIterator fin, URNG &g)

Randomly shuffle elements in a sequence

Class decay< T >
Performs implicit decay conversions on a type.
File ratio.hpp
Header file implementing <ratio>
Class ratio< N, D >
Rational arithmetic type
Class uniform_int_distribution< II >
Updates the name of uniform_int in GCC
Class uniform_real_distribution< Real >
Updates the name of uniform_real in GCC
Class unique_ptr< T, D >
Concept of a unique_ptr with ownership and transfer semantics.