TrinityCore
Trinity::Impl::StringConvertImpl::For< T, std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool > > > Struct Template Reference

#include <StringConvert.h>

Static Public Member Functions

static Optional< T > FromString (std::string_view str, int base=10)
 
static std::string ToString (T val)
 

Detailed Description

template<typename T>
struct Trinity::Impl::StringConvertImpl::For< T, std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool > > >

Definition at line 43 of file StringConvert.h.

Member Function Documentation

◆ FromString()

template<typename T >
static Optional< T > Trinity::Impl::StringConvertImpl::For< T, std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool > > >::FromString ( std::string_view  str,
int  base = 10 
)
inlinestatic

Definition at line 45 of file StringConvert.h.

+ Here is the call graph for this function:

◆ ToString()

template<typename T >
static std::string Trinity::Impl::StringConvertImpl::For< T, std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool > > >::ToString ( val)
inlinestatic

Definition at line 77 of file StringConvert.h.


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