vector向量empty()函数运用实例

empty函数

语法:

empty() 判断Vector是否为空(返回true时为空)

源代码

测试代码

测试结果: