Minsky
anonymous_namespace{CSVParser.cc}::Any Struct Reference

An any with cached hash. More...

Inheritance diagram for anonymous_namespace{CSVParser.cc}::Any:
Inheritance graph
Collaboration diagram for anonymous_namespace{CSVParser.cc}::Any:
Collaboration graph

Public Member Functions

 Any ()=default
 
 Any (const any &x)
 
bool operator< (const Any &x) const
 
bool operator== (const Any &x) const
 

Public Attributes

size_t hash
 

Detailed Description

An any with cached hash.

Definition at line 192 of file CSVParser.cc.

Constructor & Destructor Documentation

◆ Any() [1/2]

anonymous_namespace{CSVParser.cc}::Any::Any ( )
default

◆ Any() [2/2]

anonymous_namespace{CSVParser.cc}::Any::Any ( const any &  x)
inline

Definition at line 195 of file CSVParser.cc.

195 : any(x), hash(x.hash()) {}

Member Function Documentation

◆ operator<()

bool anonymous_namespace{CSVParser.cc}::Any::operator< ( const Any x) const
inline

Definition at line 196 of file CSVParser.cc.

196 {return static_cast<const any&>(*this)<x;}

◆ operator==()

bool anonymous_namespace{CSVParser.cc}::Any::operator== ( const Any x) const
inline

Definition at line 197 of file CSVParser.cc.

197 {return static_cast<const any&>(*this)==static_cast<const any&>(x);}

Member Data Documentation

◆ hash

size_t anonymous_namespace{CSVParser.cc}::Any::hash

Definition at line 198 of file CSVParser.cc.


The documentation for this struct was generated from the following file: