CMakeTutorialStep1 2.3.12
Loading...
Searching...
No Matches
hash_Person Struct Reference

人员结构 + std::hash 特化演示(自定义类型可入无序容器)。 More...

Public Member Functions

bool operator== (const hash_Person &other) const
bool operator!= (const hash_Person &other) const

Public Attributes

std::string name
int age

Detailed Description

人员结构 + std::hash 特化演示(自定义类型可入无序容器)。

Member Function Documentation

◆ operator!=()

bool hash_Person::operator!= ( const hash_Person & other) const
inline

◆ operator==()

bool hash_Person::operator== ( const hash_Person & other) const
inline

Member Data Documentation

◆ age

int hash_Person::age

◆ name

std::string hash_Person::name

The documentation for this struct was generated from the following file:
  • /Users/runner/work/CXX-CMake-template/CXX-CMake-template/single-exe-classic/src/tutorial.cxx