fpmas 1.6
Static Public Member Functions | List of all members
fpmas::utils::detail::PtrWrapperCastImpl< T1, T2 > Struct Template Reference

#include <cast.h>

Static Public Member Functions

static api::utils::PtrWrapper< T1 > cast (T2 *ptr)
 

Detailed Description

template<typename T1, typename T2>
struct fpmas::utils::detail::PtrWrapperCastImpl< T1, T2 >

fpmas::utils::ptr_wrapper_cast implementation.

A class is used to allow partial template specialization.

Template Parameters
T1target type
T2source type

Member Function Documentation

◆ cast()

template<typename T1 , typename T2 >
static api::utils::PtrWrapper< T1 > fpmas::utils::detail::PtrWrapperCastImpl< T1, T2 >::cast ( T2 *  ptr)
inlinestatic

The documentation for this struct was generated from the following file: