UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Core::Private::FormatStringSan Namespace Reference

Classes

struct  FResult
 
struct  TAtArgPos
 
struct  TCheckedFormatStringPrivate
 
struct  TCheckFormatString
 
struct  TCheckFormatString< CharType >
 
struct  TCheckFormatString< CharType, Arg, Args... >
 

Enumerations

enum class  EFormatStringSanStatus { Ok , X }
 

Functions

template<EFormatStringSanStatus Err, typename T >
constexpr void AssertFormatStatus ()
 
template<typename CharType , typename... Ts>
constexpr TCheckFormatString< CharType, std::decay_t< Ts >... > GetFmtArgCheckerType (const CharType *, Ts...)
 
template<typename CharType >
constexpr bool CharIsDigit (CharType Char)
 
template<typename CharType >
constexpr const CharType * SkipInteger (const CharType *Fmt)
 
template<typename CharType >
constexpr bool CharIsIntegerFormatSpecifier (CharType Char)
 

Variables

template<typename T >
constexpr bool bIsAConstString
 
template<typename T >
constexpr bool TIsFloatOrDouble_V = std::is_same_v<float, T> || std::is_same_v<double, T>
 
template<typename T >
constexpr bool TIsIntegralEnum_V = std::is_enum_v<T> || TIsTEnumAsByte_V<T>
 

Enumeration Type Documentation

◆ EFormatStringSanStatus

Function Documentation

◆ AssertFormatStatus()

template<EFormatStringSanStatus Err, typename T >
constexpr void UE::Core::Private::FormatStringSan::AssertFormatStatus ( )
constexpr

◆ CharIsDigit()

template<typename CharType >
constexpr bool UE::Core::Private::FormatStringSan::CharIsDigit ( CharType  Char)
constexpr

◆ CharIsIntegerFormatSpecifier()

template<typename CharType >
constexpr bool UE::Core::Private::FormatStringSan::CharIsIntegerFormatSpecifier ( CharType  Char)
constexpr

◆ GetFmtArgCheckerType()

template<typename CharType , typename... Ts>
constexpr TCheckFormatString< CharType, std::decay_t< Ts >... > UE::Core::Private::FormatStringSan::GetFmtArgCheckerType ( const CharType *  ,
Ts...   
)
constexpr

◆ SkipInteger()

template<typename CharType >
constexpr const CharType * UE::Core::Private::FormatStringSan::SkipInteger ( const CharType *  Fmt)
constexpr

Variable Documentation

◆ bIsAConstString

template<typename T >
constexpr bool UE::Core::Private::FormatStringSan::bIsAConstString
inlineconstexpr
Initial value:
=
!(std::is_convertible_v<T, char*> || std::is_convertible_v<T, TCHAR*>)
&& (std::is_convertible_v<T, const char*> || std::is_convertible_v<T, const TCHAR*>)

◆ TIsFloatOrDouble_V

template<typename T >
constexpr bool UE::Core::Private::FormatStringSan::TIsFloatOrDouble_V = std::is_same_v<float, T> || std::is_same_v<double, T>
inlineconstexpr

◆ TIsIntegralEnum_V

template<typename T >
constexpr bool UE::Core::Private::FormatStringSan::TIsIntegralEnum_V = std::is_enum_v<T> || TIsTEnumAsByte_V<T>
inlineconstexpr