operator <

函数功能

<运算符重载,判断成员Svector是否小于输入Svector。

函数原型

bool operator < (const SVector<T> &other) const

参数说明

参数名

输入/输出

说明

other

输入

判断成员是否小于“other”

返回值说明

类型

输入/输出

说明

bool

输出

  • 返回“true”小于
  • 返回“false”不小于