文档
注册
评分
提单
论坛
小AI

关系符重载

函数功能

对于AscendString对象大小比较的使用场景(例如map数据结构的key进行排序),通过重载以下关系符实现。

函数原型

bool operator<(const AscendString &d) const

bool operator>(const AscendString &d) const

bool operator<=(const AscendString &d) const

bool operator>=(const AscendString &d) const

bool operator==(const AscendString &d) const

bool operator!=(const AscendString &d) const

参数说明

无。

返回值

无。

异常处理

无。

约束说明

无。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词