rs-core

Core utilities


Project maintained by CaptainCrowbar Hosted on GitHub Pages — Theme by mattgraham

Core Utilities Library

By Ross Smith

GitHub repository

Introduction

This is a set of basic utilities that I use throughout my C++ code, collected here to avoid widespread duplication. Basically I put stuff in here when I get tired of re-implementing it in multiple projects.

Requires C++23. Not yet tested on all compilers.

Index of headers

Using the library

There is a CMakeLists.txt file, but this is usually only needed if you want to run the unit tests. The library is header-only and can be installed simply by copying or linking the rs-core directory into somewhere on your include path. Running

cmake --build . --config Release --target install

will do this, or you can just copy or symlink it by hand.

To use the library, just #include the headers you want. No special link-time options are needed.