Support Class Library
A set of tools providing classes and utility
Namespaces | Variables
scl::detect::platform Namespace Reference

Namespace for platform detection. More...

Namespaces

 unified
 Platform detection but in a unified way (e.g.
 

Variables

constexpr bool android = false
 
constexpr bool iosSimulator = false
 
constexpr bool ios = false
 
constexpr bool osx = false
 
constexpr bool apple = false
 
constexpr bool mac = false
 
constexpr bool iphone = false
 
constexpr bool linux = false
 Checks whether or not the platform is a Linux platform (that is neither android or apple) More...
 
constexpr bool posix = false
 Checks whether or not the platform is a POSIX platform (that is not a Unix platform) More...
 
constexpr bool unix = false
 Checks whether or not the platform is a Unix platform (that is not a Linux platform) More...
 
constexpr bool win64 = false
 Checks whether or not the platform is a 64bit Windows. More...
 
constexpr bool win32 = false
 Checks whether or not the platform is a 32bit Windows. More...
 
constexpr bool windows = true
 Checks whether or not the platform is windows. More...
 

Detailed Description

Namespace for platform detection.

Variable Documentation

◆ android

constexpr bool scl::detect::platform::android = false

Definition at line 16 of file android.h.

◆ apple

constexpr bool scl::detect::platform::apple = false

Definition at line 66 of file apple.h.

◆ ios

constexpr bool scl::detect::platform::ios = false

Definition at line 63 of file apple.h.

◆ iosSimulator

constexpr bool scl::detect::platform::iosSimulator = false

Definition at line 62 of file apple.h.

◆ iphone

constexpr bool scl::detect::platform::iphone = false

Definition at line 68 of file apple.h.

◆ linux

scl::detect::platform::linux = false

Checks whether or not the platform is a Linux platform (that is neither android or apple)

Definition at line 22 of file linux.h.

◆ mac

constexpr bool scl::detect::platform::mac = false

Definition at line 67 of file apple.h.

◆ osx

constexpr bool scl::detect::platform::osx = false

Definition at line 64 of file apple.h.

◆ posix

scl::detect::platform::posix = false

Checks whether or not the platform is a POSIX platform (that is not a Unix platform)

Definition at line 21 of file posix.h.

◆ unix

scl::detect::platform::unix = false

Checks whether or not the platform is a Unix platform (that is not a Linux platform)

Definition at line 21 of file unix.h.

◆ win32

scl::detect::platform::win32 = false

Checks whether or not the platform is a 32bit Windows.

Definition at line 46 of file windows.h.

◆ win64

scl::detect::platform::win64 = false

Checks whether or not the platform is a 64bit Windows.

Definition at line 40 of file windows.h.

◆ windows

scl::detect::platform::windows = true

Checks whether or not the platform is windows.

Definition at line 52 of file windows.h.