15Slide
ProgramStuff::OS Namespace Reference

Operating System related constants. More...

Variables

constexpr char STRING [] {"unknown"}
 The string for the OS. More...
 
constexpr bool LINUX {false}
 Running on Linux. More...
 
constexpr bool BSD {false}
 Running on FreeBSD. More...
 
constexpr bool WINDOWS {false}
 Running on Windows. More...
 
constexpr bool MAC {false}
 Running on macOS. More...
 
constexpr bool UNKNOWN {true}
 Running on an unknown operating system. More...
 

Detailed Description

Operating System related constants.

Variable Documentation

◆ BSD

constexpr bool ProgramStuff::OS::BSD {false}

Running on FreeBSD.

◆ LINUX

constexpr bool ProgramStuff::OS::LINUX {false}

Running on Linux.

◆ MAC

constexpr bool ProgramStuff::OS::MAC {false}

Running on macOS.

◆ STRING

constexpr char ProgramStuff::OS::STRING[] {"unknown"}

The string for the OS.

◆ UNKNOWN

constexpr bool ProgramStuff::OS::UNKNOWN {true}

Running on an unknown operating system.

◆ WINDOWS

constexpr bool ProgramStuff::OS::WINDOWS {false}

Running on Windows.