fmorgner / newtype

A library of types and functions to create strong type aliases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newtype

The newtype library provides types and functions to facilitate the creation of strong type aliases.

C++20 GitHub license Documentation Status travis Download the latest version on conan Support the project with Bitcoin

Usage

The code block below demonstrates the basic usage and features of newtype. For a more details description of the library, as well as a full API documentation, please read the docs (also available as a PDF file).

Requirements

This library uses features of C++20 and thus requires a modern compiler. All development was done on GCC 9.2. This is a header-only library, and thus no compilation is need if you want to use it in your project. If you want to run the sanity-checks/unit-test, you will need at least CMake 3.9.0. If you want to build to documentation, you will need either a local installation of sphinx, or alternatively pipenv. A Pipfile is provided in the directory docs within the source root.

About

A library of types and functions to create strong type aliases

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 94.2%Language:CMake 3.2%Language:Python 2.6%