TrinityCore
StringConvert.h File Reference
#include "Define.h"
#include "Errors.h"
#include "Optional.h"
#include "Types.h"
#include "Util.h"
#include <charconv>
#include <string>
#include <string_view>
#include <type_traits>
+ Include dependency graph for StringConvert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 
namespace  Trinity::Impl::StringConvertImpl
 

Functions

template<typename Result , typename... Params>
Optional< Result > Trinity::StringTo (std::string_view str, Params &&... params)
 
template<typename Type , typename... Params>
std::string Trinity::ToString (Type &&val, Params &&... params)