XRTraits C++ OpenXR Utilities
Namespaces | Macros
TaggedCastCommon.h File Reference

Header shared between the two type-safe cast headers. More...

#include "../Common.h"
#include "../traits/APITraits.h"
#include <openxr/openxr.h>
#include <type_traits>
Include dependency graph for TaggedCastCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xrtraits
 Main namespace for these C++ OpenXR utilities.
 
 xrtraits::casts
 Casts for OpenXR tagged types, as well as utilities for traversing a next chain.
 

Macros

#define XRTRAITS_HAVE_CASTS
 

Detailed Description

Header shared between the two type-safe cast headers.

Author
Ryan Pavlik ryan..nosp@m.pavl.nosp@m.ik@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om

Macro Definition Documentation

◆ XRTRAITS_HAVE_CASTS

#define XRTRAITS_HAVE_CASTS

Defined after including any of the cast headers or GetChained.h if the compiler and config requirements are satisfied to provide at least some cast/get-chained functionality.

Without exceptions, casts to reference types are unavailable.