MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
函数包装器

通用函数包装器及相关工具 更多...

class  function< Sign >
 函数包装器主模板声明 更多...
class  function< Res(Args...)>
 通用函数包装器类模板 更多...

函数

template<typename Res, typename... Args>
bool operator== (const function< Res(Args...)> &f, nullptr_t null) noexcept
 等于空指针比较
template<typename Res, typename... Args>
bool operator== (nullptr_t null, const function< Res(Args...)> &f) noexcept
 等于空指针比较
template<typename Res, typename... Args>
bool operator!= (const function< Res(Args...)> &f, nullptr_t null) noexcept
 不等于空指针比较
template<typename Res, typename... Args>
bool operator!= (nullptr_t null, const function< Res(Args...)> &f) noexcept
 不等于空指针比较

详细描述

通用函数包装器及相关工具

函数说明

◆ operator!=() [1/2]

template<typename Res, typename... Args>
bool operator!= ( const function< Res(Args...)> & f,
nullptr_t null )
noexcept

不等于空指针比较

模板参数
Res返回类型
Args参数类型
参数
ffunction对象
null空指针字面量
返回
function是否非空

在文件 function.hpp562 行定义.

◆ operator!=() [2/2]

template<typename Res, typename... Args>
bool operator!= ( nullptr_t null,
const function< Res(Args...)> & f )
noexcept

不等于空指针比较

模板参数
Res返回类型
Args参数类型
参数
null空指针字面量
ffunction对象
返回
function是否非空

在文件 function.hpp575 行定义.

◆ operator==() [1/2]

template<typename Res, typename... Args>
bool operator== ( const function< Res(Args...)> & f,
nullptr_t null )
noexcept

等于空指针比较

模板参数
Res返回类型
Args参数类型
参数
ffunction对象
null空指针字面量
返回
function是否为空

在文件 function.hpp536 行定义.

◆ operator==() [2/2]

template<typename Res, typename... Args>
bool operator== ( nullptr_t null,
const function< Res(Args...)> & f )
noexcept

等于空指针比较

模板参数
Res返回类型
Args参数类型
参数
null空指针字面量
ffunction对象
返回
function是否为空

在文件 function.hpp549 行定义.