Aikido
aikido::common::DynamicCastFactory_raw_ptr< Pointee > Struct Template Reference

Helper template class necessary to use raw pointers as the pointer type in DynamicCastFactory. More...

#include <aikido/common/detail/metaprogramming-impl.hpp>

Public Types

using type = Pointee *
 

Static Public Member Functions

template<class Derived >
static Derived * cast (Pointee *_pointer)
 

Detailed Description

template<class Pointee>
struct aikido::common::DynamicCastFactory_raw_ptr< Pointee >

Helper template class necessary to use raw pointers as the pointer type in DynamicCastFactory.

Template Parameters
pointeetype

Member Typedef Documentation

◆ type

template<class Pointee >
using aikido::common::DynamicCastFactory_raw_ptr< Pointee >::type = Pointee*

Member Function Documentation

◆ cast()

template<class Pointee >
template<class Derived >
static Derived* aikido::common::DynamicCastFactory_raw_ptr< Pointee >::cast ( Pointee *  _pointer)
inlinestatic