Apollo 10.0
自动驾驶开放平台
apollo::common::util::PairHash结构体 参考

#include <util.h>

apollo::common::util::PairHash 的协作图:

Public 成员函数

template<typename T , typename U >
size_t operator() (const std::pair< T, U > &pair) const
 

详细描述

在文件 util.h54 行定义.

成员函数说明

◆ operator()()

template<typename T , typename U >
size_t apollo::common::util::PairHash::operator() ( const std::pair< T, U > &  pair) const
inline

在文件 util.h56 行定义.

56 {
57 return std::hash<T>()(pair.first) ^ std::hash<U>()(pair.second);
58 }

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