Flex  0.17.9
Public Member Functions | Public Attributes | List of all members
gs::StringPtr Struct Reference

#include <types.h>

Public Member Functions

 StringPtr ()
 
 StringPtr (const std::string &str)
 
 StringPtr (const StringPtr &other)
 
 StringPtr (StringPtr &&other)
 
StringPtroperator= (const StringPtr &other)
 
 ~StringPtr ()
 
std::string_view operator* () const
 

Public Attributes

std::string * ptr
 

Constructor & Destructor Documentation

◆ StringPtr() [1/4]

gs::StringPtr::StringPtr ( )
inline

◆ StringPtr() [2/4]

gs::StringPtr::StringPtr ( const std::string &  str)
inline

◆ StringPtr() [3/4]

gs::StringPtr::StringPtr ( const StringPtr other)
inline

◆ StringPtr() [4/4]

gs::StringPtr::StringPtr ( StringPtr &&  other)
inline

◆ ~StringPtr()

gs::StringPtr::~StringPtr ( )
inline

Member Function Documentation

◆ operator*()

std::string_view gs::StringPtr::operator* ( ) const
inline

◆ operator=()

StringPtr& gs::StringPtr::operator= ( const StringPtr other)
inline

Member Data Documentation

◆ ptr

std::string* gs::StringPtr::ptr

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