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

#include <acwing.h>

Public 成员函数

size_t operator() (const point &) const
 

详细描述

在文件 acwing.h129 行定义.

成员函数说明

◆ operator()()

size_t acwing::acwing2060::pointhash::operator() ( const point p) const

在文件 acwing.cpp366 行定义.

366{ return p.x * 50 + p.y; }

引用了 acwing::acwing2060::point::x , 以及 acwing::acwing2060::point::y.


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