YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ystdex::deref_str_comp< _tChar, _fCompare > 模板结构体 参考

间接访问字符串比较仿函数。 更多...

#include <functional.hpp>

Public 成员函数

bool operator() (const _tChar *x, const _tChar *y) const
 比较指定字符串首字符的指针。
 

详细描述

template<typename _tChar, class _fCompare = std::less<_tChar>>
struct ystdex::deref_str_comp< _tChar, _fCompare >

间接访问字符串比较仿函数。

警告
非虚析构。
自从
build 315

在文件 functional.hpp424 行定义.

成员函数说明

template<typename _tChar , class _fCompare = std::less<_tChar>>
bool ystdex::deref_str_comp< _tChar, _fCompare >::operator() ( const _tChar *  x,
const _tChar *  y 
) const
inline

比较指定字符串首字符的指针。

返回
若参数有空指针则 false ,否则判断指定字符串是否满足字典序严格偏序关系。

在文件 functional.hpp431 行定义.


该结构体的文档由以下文件生成: