GDB (xrefs)
Loading...
Searching...
No Matches
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 319 of file index-write.c.

Constructor & Destructor Documentation

◆ c_str_view()

c_str_view::c_str_view ( const char * cstr)
inline

Definition at line 322 of file index-write.c.

Member Function Documentation

◆ c_str()

const char * c_str_view::c_str ( ) const
inline

Definition at line 333 of file index-write.c.

References m_cstr.

◆ operator==()

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

Definition at line 326 of file index-write.c.

References m_cstr.

Friends And Related Symbol Documentation

◆ c_str_view_hasher

friend class c_str_view_hasher
friend

Definition at line 339 of file index-write.c.

Member Data Documentation

◆ m_cstr

const char* const c_str_view::m_cstr
private

Definition at line 340 of file index-write.c.

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


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