YSTest  PreAlpha_b380_20130211
The YSLib Test Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Is Undereferencable Iterator

判断迭代器实例是否为可解引用。 More...

Functions

bool ystdex::is_undereferencable (const ifile_iterator &i)
 判断 ifile_iterator 实例是否确定为不可解引用。
 
template<typename _tIterator >
bool ystdex::is_undereferencable (const _tIterator &)
 
template<typename _type >
bool ystdex::is_undereferencable (_type *p)
 

Detailed Description

判断迭代器实例是否为可解引用。

Template Parameters
_tIterator迭代器类型。
Note
注意返回 false 不表示参数实际可解引用。
默认实现对参数转换为 bool 类型判断是否为 false 。
Since
build 250

Function Documentation

template<typename _tIterator >
bool ystdex::is_undereferencable ( const _tIterator &  )
inline

Definition at line 71 of file memory.hpp.

template<typename _type >
bool ystdex::is_undereferencable ( _type *  p)
inline

Definition at line 77 of file memory.hpp.

bool ystdex::is_undereferencable ( const ifile_iterator &  i)
inline

判断 ifile_iterator 实例是否确定为不可解引用。

Since
build 250

Definition at line 202 of file cstdio.h.

References ystdex::ifile_iterator::get_stream().

Here is the call graph for this function: