8#ifndef PLATFORM_TCHAR_IS_CHAR16
9 #error "Traits/IsFixedWidthCharEncoding.h should be included after platform headers"
17 template <
typename Encoding>
21 std::is_same_v<Encoding, ANSICHAR> ||
22 std::is_same_v<Encoding, UCS2CHAR> ||
23 std::is_same_v<Encoding, WIDECHAR> ||
24#if PLATFORM_TCHAR_IS_CHAR16
25 std::is_same_v<Encoding, wchar_t> ||
27 std::is_same_v<Encoding, UTF32CHAR>;
31template <
typename Encoding>
36 static constexpr bool Value = UE::Core::Private::IsFixedWidthEncodingImpl<std::remove_cv_t<Encoding>>();
39template <
typename Encoding>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
constexpr bool TIsFixedWidthCharEncoding_V
Definition IsFixedWidthCharEncoding.h:40
implementation
Definition PlayInEditorLoadingScope.h:8
constexpr bool IsFixedWidthEncodingImpl()
Definition IsFixedWidthCharEncoding.h:18
Definition IsFixedWidthCharEncoding.h:33
static constexpr bool Value
Definition IsFixedWidthCharEncoding.h:36