GDB (xrefs)
Public Member Functions | Private Attributes | Friends | List of all members
c_str_view Class Reference

Public Member Functions

 c_str_view (const char *cstr)
 
bool operator== (const c_str_view &other) const
 
const char * c_str () const
 

Private Attributes

const char *const m_cstr
 

Friends

class c_str_view_hasher
 

Detailed Description

Definition at line 25669 of file dwarf2read.c.

Constructor & Destructor Documentation

◆ c_str_view()

c_str_view::c_str_view ( const char *  cstr)
inline

Definition at line 25672 of file dwarf2read.c.

Member Function Documentation

◆ c_str()

const char* c_str_view::c_str ( ) const
inline

Definition at line 25683 of file dwarf2read.c.

References m_cstr.

◆ operator==()

bool c_str_view::operator== ( const c_str_view other) const
inline

Definition at line 25676 of file dwarf2read.c.

References m_cstr.

Friends And Related Function Documentation

◆ c_str_view_hasher

friend class c_str_view_hasher
friend

Definition at line 25689 of file dwarf2read.c.

Member Data Documentation

◆ m_cstr

const char* const c_str_view::m_cstr
private

Definition at line 25690 of file dwarf2read.c.

Referenced by c_str(), c_str_view_hasher::operator()(), and operator==().


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