mFrame
載入中...
搜尋中...
無符合項目
ufm::lang::AutoConvert< C > 結構 樣版 參考文件

自動轉型模板,方便不同型別介面之間的轉換 更多...

#include <AutoConvert.h>

公開方法(Public Methods)

template<typename... Args>
 operator const C< Args... > & (void) const
 
template<typename... Args>
 operator C<Args... > & (void)
 

詳細描述

template<template< typename... > class C>
struct ufm::lang::AutoConvert< C >

自動轉型模板,方便不同型別介面之間的轉換

樣版參數
C

[Interface] 自動轉型模板類別

此模板用於簡化不同型別介面之間的轉型操作, 透過內部 reinterpret_cast 達成物件轉換。

樣版參數
C待轉換的類別模板
1.0.0

函式成員說明文件

◆ operator C<Args... > &()

template<template< typename... > class C>
template<typename... Args>
ufm::lang::AutoConvert< C >::operator C<Args... > & ( void )
inline
樣版參數
Args

◆ operator const C< Args... > &()

template<template< typename... > class C>
template<typename... Args>
ufm::lang::AutoConvert< C >::operator const C< Args... > & ( void ) const
inline
樣版參數
Args
傳回值
operator const&

此結構(structure) 文件是由下列檔案中產生: