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

#include <pat.h>

Public 成员函数

bool operator() (const frame &f1, const frame &f2) const
 

详细描述

在文件 pat.h907 行定义.

成员函数说明

◆ operator()()

bool pat::a::a1018::frame_cmp::operator() ( const frame f1,
const frame f2 
) const

在文件 pat.cpp4767 行定义.

4767 {
4768 if(f1.len != f2.len) {
4769 return f1.len > f2.len;
4770 }
4771 if(f1.get_go() != f2.get_go()) {
4772 return f1.get_go() > f2.get_go();
4773 }
4774 return f1.get_back() > f2.get_back();
4775 }

引用了 pat::a::a1018::frame::get_back(), pat::a::a1018::frame::get_go() , 以及 pat::a::a1018::frame::len.


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