Cppcheck
Public Types | Public Member Functions | Private Attributes | List of all members
MatchCompiler::ConstString< n > Class Template Reference

#include <matchcompiler.h>

Public Types

using StringRef = const char(&)[n]
 

Public Member Functions

 ConstString (StringRef s)
 
 operator StringRef () const
 

Private Attributes

StringRef _s
 

Detailed Description

template<unsigned int n>
class MatchCompiler::ConstString< n >

Definition at line 28 of file matchcompiler.h.

Member Typedef Documentation

◆ StringRef

template<unsigned int n>
using MatchCompiler::ConstString< n >::StringRef = const char (&)[n]

Definition at line 30 of file matchcompiler.h.

Constructor & Destructor Documentation

◆ ConstString()

template<unsigned int n>
MatchCompiler::ConstString< n >::ConstString ( StringRef  s)
inlineexplicit

Definition at line 31 of file matchcompiler.h.

Member Function Documentation

◆ operator StringRef()

template<unsigned int n>
MatchCompiler::ConstString< n >::operator StringRef ( ) const
inline

Definition at line 34 of file matchcompiler.h.

References MatchCompiler::ConstString< n >::_s.

Member Data Documentation

◆ _s

template<unsigned int n>
StringRef MatchCompiler::ConstString< n >::_s
private

Definition at line 39 of file matchcompiler.h.

Referenced by MatchCompiler::ConstString< n >::operator StringRef().


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