|
inlineconstexpr |
OS reporting value.
The spy::operating_system
object can be compared to any other OS related value to verify if the code being compiled is compiled on a given Operating Systems.
Additionally, any of the OS related value are convertible to bool
. They evaluates to true
if they matches the correct OS currently used.
Name | Operating System |
---|---|
spy::android_ | Android |
spy::bsd | BSD |
spy::cygwin_ | CYGWIN |
spy::ios_ | iOS |
spy::linux_ | Linux |
spy::macos_ | MacOS |
spy::unix_ | UNIX |
spy::windows_ | Windows |