TAreEncodingsCompatible

Metafunction which tests whether two encodings are compatible.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h

Include

#include "GenericPlatform/GenericPlatformString.h"

Syntax

template<typename EncodingA, typename EncodingB>
struct TAreEncodingsCompatible

Remarks

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.

Constants

Name

Description

Value

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss