cxxomfort  rel.20200720
Simple backports for C++ -
Cxxomfort Backport Tools for C++.

Cxxomfort is a small, header-only library that provides backports of various C++ features and goodies to previous Standard versions. It was written to facilitate working with the evolving C++ Standard when I was coming back to the language during the C++11 transition, as well as reduce stress of code rewrite while at the same time assisting in backwards and forwards portability.

This is a precompiled help built using Doxygen and covers only the published interfaces (names, functions, etc) and their usage; for information on installation and configuration, check the repository's page:

Library Behaviour Macros - Code Generation
Basic features Base Features (automatically included)
#include <cxxomfort/base.hpp>
nullptr , static_assert , explicit_cast , move / rvalue-reference emulation , iterator accessors , alignof
Independent Utilities
Backports & Standard C++ * Backports #include <cxxomfort/backports.hpp>
<cstddef> - <cstdint> - <cstdio> - <ctime> - <cuchar>
<algorithm> - <functional> - <iterator> - <numeric> - <string> - <string_view>
<ios> - <limits> - <memory> - <tuple> - <utility>
<type_traits> - <typeindex>
<array> - <forward_list>
<random> - <system_error>
Transparent Headers – Fixes to implementation issues
Supplements Library Supplementsrepo
#include <cxxomfort/library.hpp>
foreach emulation – typesafe enums – strong types – i12n (initialization)
Supplementals for Standard C++ Headers
Extra Projects

Licensing Terms

This library is distributed under the terms of the MIT License. Check LICENSE.txt for more information.