XRTraits C++ OpenXR Utilities
Namespaces | Functions
TaggedRiskyCast.h File Reference

Header providing a slightly-riskier relative of xr_tagged_dynamic_cast() that works on void pointers (as long as they actually do point to a tagged type), called xr_tagged_risky_cast(). More...

#include "../Common.h"
#include "../Attributes.h"
#include "../exceptions/CastExceptions.h"
#include "TaggedCastCommon.h"
Include dependency graph for TaggedRiskyCast.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.
 

Functions

template<typename TargetType , typename SourceType >
TargetType xrtraits::casts::xr_tagged_risky_cast (SourceType source)
 

Detailed Description

Header providing a slightly-riskier relative of xr_tagged_dynamic_cast() that works on void pointers (as long as they actually do point to a tagged type), called xr_tagged_risky_cast().

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