|
cxxomfort
rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Classes | |
| struct | noopT_t< T > |
| generic no-op functor with return type T. More... | |
| struct | equivalent_to< T, Ord > |
| Function object that performs equivalence comparison: arguments are "equivalent" if they are not less or greater than each other. Or, alternatively, if neither is less than the other. More... | |
| struct | is_std_function< T > |
| struct | constant_function< T > |
Namespaces | |
| cxxomfort | |
Namespace of the cxxomfort library. | |
| cxxomfort::library | |
| Supplements to backports and other utilities. Namespace that holds the library's own implementations, emulations and supplements. | |
Functions | |
| template<typename R > | |
| nullary_function_ptrt< R > | ptr_fun (R(*const function)()) |
| static CXXO_CONSTEXPR14 equivalent_to< void > | make_equivalence () CXXO_NOEXCEPTNOTHROW |
| Generates an equivalence comparison functor on the fly. | |
| nullary_function_ptrt<R> cxxomfort::library::functional::ptr_fun | ( | R(*)() | function | ) |
"Overload" for std::ptr_fun that wrapps nullary functions.
Referenced by cxxomfort::library::functional::ptr_fun().
1.8.13