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

#include <pat.h>

Public 成员函数

bool operator() (const pair< string, int > &p1, const pair< string, int > &p2) const
 

详细描述

在文件 pat.h618 行定义.

成员函数说明

◆ operator()()

bool pat::b::b1095::room_cnt_comp::operator() ( const pair< string, int > &  p1,
const pair< string, int > &  p2 
) const

在文件 pat.cpp3406 行定义.

3406 {
3407 if(p1.second != p2.second) {
3408 return p1.second > p2.second;
3409 }
3410 return p1.first < p2.first;
3411 }

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