TrinityCore
Loading...
Searching...
No Matches
CStringSentinel_T Struct Reference

#include <Util.h>

Public Member Functions

template<typename Iterator >
constexpr bool operator== (Iterator itr) const
 
template<typename Iterator >
constexpr CStringBoundedSentinel< Iterator > Checked (Iterator end) const
 

Detailed Description

End sentinel for std::ranges algorithms to use a char const* as begin iterator

Definition at line 385 of file Util.h.

Member Function Documentation

◆ Checked()

template<typename Iterator >
constexpr CStringBoundedSentinel< Iterator > CStringSentinel_T::Checked ( Iterator  end) const
inlineconstexpr

End sentinel for std::ranges algorithms to use a char const* as begin iterator where end of valid memory is known (for example std::array partially filled by the string)

Definition at line 394 of file Util.h.

+ Here is the caller graph for this function:

◆ operator==()

template<typename Iterator >
constexpr bool CStringSentinel_T::operator== ( Iterator  itr) const
inlineconstexpr

Definition at line 388 of file Util.h.


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