XRTraits C++ OpenXR Utilities
|
Header defining macros corresponding to various C++ attributes. More...
Go to the source code of this file.
Macros | |
#define | XRTRAITS_FALLTHROUGH [[fallthrough]] |
Compatibility wrapper for [[fallthrough]] More... | |
#define | XRTRAITS_NODISCARD [[nodiscard]] |
Compatibility wrapper for [[nodiscard]] More... | |
#define | XRTRAITS_MAYBE_UNUSED [[maybe_unused]] |
Compatibility wrapper for [[maybe_unused]] More... | |
#define | XRTRAITS_MAY_ALIAS __attribute__((__may_alias__)) |
Portability wrapper for indicating that a type may alias other types. More... | |
Header defining macros corresponding to various C++ attributes.
#define XRTRAITS_FALLTHROUGH [[fallthrough]] |
Compatibility wrapper for [[fallthrough]]
#define XRTRAITS_MAY_ALIAS __attribute__((__may_alias__)) |
Portability wrapper for indicating that a type may alias other types.
#define XRTRAITS_MAYBE_UNUSED [[maybe_unused]] |
Compatibility wrapper for [[maybe_unused]]
Referenced by xrtraits::casts::xr_tagged_dynamic_cast(), and xrtraits::casts::xr_tagged_risky_cast().
#define XRTRAITS_NODISCARD [[nodiscard]] |
Compatibility wrapper for [[nodiscard]]