TStringView::TStringView

Construct a view from a contiguous range of characters.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StringView.h

Include

#include "Containers/StringView.h"

Syntax

template<typename CharRangeType, typename TEnableIf< TAnd< TNot< TIsSame< ViewType, typename TDecay< CharRangeType >::Type >>, TIsCharRange< CharRangeType > >::Value >::Type *>
constexpr TStringView
(
    CharRangeType && InRange
)

Remarks

Construct a view from a contiguous range of characters.

The caller is responsible for ensuring that the provided character range remains valid for the lifetime of the view.

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