Cxxomfort
Cxxomfort
Here as a visitor
Comfort, n. [2]

A consolation; something relieving suffering or worry.

"We still have the spare tire? That's a comfort at least."

(Wiktionary)

Cxxomfort is a small, header-only library that backports to C++03 some of the nifty C++11 goodies. It is intended to help reduce the amount and stress of code rewrite for the future while at the same time assisting in backwards portability.

To download a full copy of this documentation click here (to be completed).

Installation and Configuration

The basic installation procedure is as follows: download package or clone repo; extract package or copy repo to an adequate directory; add directory path to compiler #include paths; then write some code.

For specifics:

Usage

Using this library is as simple as writing C++ code. Various features are available including: nullptr, static_assert, iterator helpers and metaprogramming helpers, and alignof where available. There are also some extra features that are activated via their own macros, such as scoped enumeration emulation.

Meta

For a list of frequently asked questions read the FAQ.

The purpose of this library is to ease writing natural-feeling, forwards-compatible code once. As such, some design decisions are made that might conflict with conflict with certain "coding styles". For a quick, uncomprehensive check read Rationale.

Credits to the various solutions in Credits.

License information in the included LICENSE.txt file or in License.

Q&A at luis[dot]machuca[at]gmail[dot]com