cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
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:

https://ryan.gulix.cl/fossil.cgi/cxxomfort

Library Cxxomfort Macros
Behaviour Configuration Macros - default-ctor
Basic features Base Features (automatically included)
#include <cxxomfort/base.hpp>

Independent Utilities
#include <cxxomfort/cxxo-utils.hpp>
Backports & Standard C++ * Backports #include <cxxomfort/backports.hpp>
C++03/TR1 – C++11 – C++14 – C++17 – C++20 – C++23
<cerrno> — <cstddef> — <cstdint> — <cstdio> — <ctime> — <cuchar>
<algorithm> – <array> – <bit> – <forward_list> – <functional> – <iomanip> — <ios> – <iterator> – <limits> – <memory> – <numeric> — <ostream> – <random> – <ratio> — <string> — <string_view> – <system_error> – <tuple> – <typeindex> – <utility>
<type_traits>
Fixes to implementation issues
Extras
C++17 Vocabulary Types - any — optional — variant
Minimal Range Proposal - range
*
Supplements

Library Supplements – repo
#include <cxxomfort/library.hpp>
foreach emulation – typesafe enums – strong types – i12n (initialization)
array_ref – fixed_vector – mstack
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.

SPDX-License-Identifier: MIT