Registry / utility / boost-predef

boost-predef

JSON →
library1.90.0vcpkgunverified

Boost.Predef provides a set of preprocessor macros for detecting compiler, platform, and architecture.

vcpkg install boost-predef
INSTALL
IMPORT
SIG · BOOST-PREDEF
B
boost-predef
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/predef.h
#include <boost/predef.h>

Detects the operating system using Boost.Predef.

#include <boost/predef.h> #include <iostream> int main() { #if BOOST_OS_WINDOWS std::cout << "Windows" << std::endl; #elif BOOST_OS_LINUX std::cout << "Linux" << std::endl; #endif return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources

No resource links recorded.

boost-predef — pip install boost-predef · libregistry