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

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

Functions

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

Detailed Description

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

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

Function Documentation

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

Definition at line 48 of file memory.hpp.

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

Definition at line 54 of file memory.hpp.

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

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

Since
build 249

Definition at line 191 of file cstdio.h.

References ystdex::ifile_iterator::get_stream().

Here is the call graph for this function: