VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::Traits::RemoveSharedPtr< T, bool > 模板结构体 参考

Strips std::shared_ptr to obtain the underlying element type. 更多...

#include <traits.h>

类 vlink::Traits::RemoveSharedPtr< T, bool > 继承关系图:
vlink::Traits::RemoveSharedPtr< T, bool > 的协作图:

Public 类型

using Type = T

详细描述

template<typename T, bool = IsSharedPtr<T>::value>
struct vlink::Traits::RemoveSharedPtr< T, bool >

Strips std::shared_ptr to obtain the underlying element type.

When T is a std::shared_ptr, RemoveSharedPtr<T>::Type is the contained element type. Otherwise Type is T itself.

模板参数
TThe type from which to remove the shared_ptr wrapper.

成员类型定义说明

◆ Type

template<typename T, bool = IsSharedPtr<T>::value>
using vlink::Traits::RemoveSharedPtr< T, bool >::Type = T

The type without std::shared_ptr.


该结构体的文档由以下文件生成: