Skip to content

jfalcou/spy

Repository files navigation

SPY Library logo

C++ Informations Broker

CircleCI Build status Licence Discord

Purpose

Detection and versioning of operating systems, compilers, architecture and other element are traditionally done using preprocessor macros. Library like Boost.Predef provides a sanitized interface on top of those but still live in a world where the preprocessor is king.

SPY is a C++17 (and onward) library that gathers similar informations and provides a constexpr compatible interface to access those information, thus making their exploitation within constexpr context possible.

The complete documentation can be found here.

Useful Links