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

Helper template class necessary to use std::shared_ptr as the pointer type in DynamicCastFactory. More...

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

Public Types

using type = std::shared_ptr< Pointee >
 

Static Public Member Functions

template<class Derived >
static std::shared_ptr< Derived > cast (std::shared_ptr< Pointee > _pointer)
 

Detailed Description

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

Helper template class necessary to use std::shared_ptr as the pointer type in DynamicCastFactory.

Template Parameters
pointeetype

Member Typedef Documentation

◆ type

template<class Pointee >
using aikido::common::DynamicCastFactory_shared_ptr< Pointee >::type = std::shared_ptr<Pointee>

Member Function Documentation

◆ cast()

template<class Pointee >
template<class Derived >
static std::shared_ptr<Derived> aikido::common::DynamicCastFactory_shared_ptr< Pointee >::cast ( std::shared_ptr< Pointee >  _pointer)
inlinestatic