Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
FGenericPlatformString::TAreEncodingsCompatible< EncodingA, EncodingB > Struct Template Reference

#include <GenericPlatformString.h>

Public Types

enum  { Value = TIsFixedWidthEncoding<EncodingA>::Value && TIsFixedWidthEncoding<EncodingB>::Value && sizeof(EncodingA) == sizeof(EncodingB) }
 

Detailed Description

template<typename EncodingA, typename EncodingB>
struct FGenericPlatformString::TAreEncodingsCompatible< EncodingA, EncodingB >

Metafunction which tests whether two encodings are compatible.

We'll say the encodings are compatible if they're both fixed-width and have the same size. This should be good enough and catches things like UCS2CHAR and WIDECHAR being equivalent. Specializations of this template can be provided for any other special cases. Same size is a minimum requirement.

Definition at line 86 of file GenericPlatformString.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename EncodingA , typename EncodingB >
anonymous enum
Enumerator
Value 

Definition at line 88 of file GenericPlatformString.h.


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