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

#include <single_predicates.h>

类 libMesh::Predicates::not_null< T > 继承关系图:
[图例]

Public 成员函数

virtual bool operator() (const T &it) const override
 

Protected 成员函数

virtual std::unique_ptr
< predicate< T > > 
clone () const override
 

详细描述

template<typename T>
struct libMesh::Predicates::not_null< T >

返回
true if the pointer is not nullptr.

在文件 single_predicates.h88 行定义.

成员函数说明

template<typename T >
virtual std::unique_ptr<predicate<T> > libMesh::Predicates::not_null< T >::clone ( ) const
inlineoverrideprotectedvirtual

重载 libMesh::Predicates::is_null< T > .

在文件 single_predicates.h93 行定义.

93 { return std::make_unique<not_null<T>>(*this); }
template<typename T >
virtual bool libMesh::Predicates::not_null< T >::operator() ( const T &  it) const
inlineoverridevirtual

重载 libMesh::Predicates::is_null< T > .

在文件 single_predicates.h90 行定义.

参考 libMesh::Predicates::is_null< T >::operator()().

90 { return !is_null<T>::operator()(it); }
virtual bool operator()(const T &it) const override

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