|
cxxomfort
rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implements std::add_const by David Alan Martin. More...
Namespaces | |
| cxxomfort | |
Namespace of the cxxomfort library. | |
| cxxomfort::cxxostd | |
| Backports made available by cxxomfort. | |
Functions | |
| template<typename T > | |
| constexpr std::add_const< T >::type & | as_const (T &t) noexcept |
returns a const view of object t . A C++17 Backports . More... | |
| template<typename T > | |
| constexpr std::add_const< T >::type * | as_ptr_const (T *const t) noexcept |
returns a const view of a pointer t . An extension to as_const() . More... | |
Implements std::add_const by David Alan Martin.
1.8.13