MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
function.hpp 文件参考

MSTL通用函数包装器 更多...

#include "MSTL/core/exception/exception.hpp"
#include "MSTL/core/functional/invoke.hpp"
#include <typeinfo>
function.hpp 的引用(Include)关系图:

浏览该文件的源代码.

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
 不等于空指针比较

详细描述

MSTL通用函数包装器

此文件提供了通用函数包装器,支持存储、复制和调用任意可调用对象。

在文件 function.hpp 中定义.