Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::not_null_t Struct Reference

#include <gextra.h>

Public Member Functions

template<class T>
bool operator() (const T &p) const
 判断指针是否非空。

Member Function Documentation

◆ operator()()

template<class T>
bool console::ops::not_null_t::operator() ( const T & p) const
inline

判断指针是否非空。

Parameters
p输入指针。
Returns
p != nullptr。

The documentation for this struct was generated from the following file: