problemscpp
A collection of my answers to algorithm problems in c++.
Public 成员函数 | 所有成员列表
pat::b::b1095::p_stu_comp结构体 参考

#include <pat.h>

Public 成员函数

bool operator() (const student *stu1, const student *stu2) const
 

详细描述

在文件 pat.h614 行定义.

成员函数说明

◆ operator()()

bool pat::b::b1095::p_stu_comp::operator() ( const student stu1,
const student stu2 
) const

在文件 pat.cpp3399 行定义.

3399 {
3400 if(stu1->grade != stu2->grade) {
3401 return stu1->grade > stu2->grade;
3402 }
3403 return stu1->id < stu2->id;
3404 }

引用了 pat::b::b1095::student::grade , 以及 pat::b::b1095::student::id.


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