proxygen
CStringRange Class Reference

Classes

struct  Sentinel
 

Public Member Functions

 CStringRange (const char *cstr_)
 
const char * begin () const
 
Sentinel end () const
 

Private Attributes

const char * cstr
 

Detailed Description

Definition at line 148 of file EnumerateTest.cpp.

Constructor & Destructor Documentation

CStringRange::CStringRange ( const char *  cstr_)
inlineexplicit

Definition at line 154 of file EnumerateTest.cpp.

154 : cstr(cstr_) {}
const char * cstr

Member Function Documentation

const char* CStringRange::begin ( ) const
inline

Definition at line 156 of file EnumerateTest.cpp.

156  {
157  return cstr;
158  }
const char * cstr
Sentinel CStringRange::end ( ) const
inline

Definition at line 159 of file EnumerateTest.cpp.

159  {
160  return Sentinel{};
161  }

Member Data Documentation

const char* CStringRange::cstr
private

Definition at line 149 of file EnumerateTest.cpp.


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