cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
Namespaces
library/numeric.hpp File Reference

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::library
 Supplements to backports and other utilities.
 
 cxxomfort::library::numeric
 Supplements to the standard utilities in <numeric>.
 
 cxxomfort::library::numeric::ctmath
 Compile-time arithmethic functions, that can be used in template parameters.
 

Functions

template<typename T >
std::make_signed< T >::type to_signed (T t)
 Converts t to the equivalent integral signed type. More...
 
template<typename T >
std::make_unsigned< T >::type to_signed (T t)
 Converts t to the equivalent integral unsigned type. More...
 
template<typename It , typename T , typename F >
accumulate_right (It ini, It fin, T v0, F f)
 Folds a sequence with f from the right . More...