libmesh解析
本工作只是尝试解析原libmesh的代码,供学习使用
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 
Public 成员函数 | Public 属性 | 所有成员列表
libMesh::Predicates::movable_il< T > 模板结构体 参考

Helper object for creating a std::vector from a std::initializer_list https://stackoverflow.com/questions/46737054/vectorunique-ptra-using-initialization-list. 更多...

#include <multi_predicates.h>

Public 成员函数

 movable_il (T &&in)
 Construct from rvalue reference of type T. 更多...
 
template<typename U >
 movable_il (U &&in)
 Construct from rvalue reference of type U, using forwarding. 更多...
 
 operator T () const &&
 Return an rvalue reference to ourself. 更多...
 

Public 属性

t
 

详细描述

template<class T>
struct libMesh::Predicates::movable_il< T >

Helper object for creating a std::vector from a std::initializer_list https://stackoverflow.com/questions/46737054/vectorunique-ptra-using-initialization-list.

在文件 multi_predicates.h126 行定义.

构造及析构函数说明

template<class T >
libMesh::Predicates::movable_il< T >::movable_il ( T &&  in)
inline

Construct from rvalue reference of type T.

在文件 multi_predicates.h131 行定义.

131 : t(std::move(in)) {}
template<class T >
template<typename U >
libMesh::Predicates::movable_il< T >::movable_il ( U &&  in)
inline

Construct from rvalue reference of type U, using forwarding.

在文件 multi_predicates.h137 行定义.

137 : t(std::forward<U>(in)) {}

成员函数说明

template<class T >
libMesh::Predicates::movable_il< T >::operator T ( ) const
inline

Return an rvalue reference to ourself.

在文件 multi_predicates.h142 行定义.

参考 libMesh::Predicates::movable_il< T >::t.

142 { return std::move(t); }

类成员变量说明

template<class T >
T libMesh::Predicates::movable_il< T >::t
mutable

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