FText::AutoRTFMAssignFromOpenToClosed
#include "Internationalization/Text.h"
Access: public
Specifiers: static
Description
AutoRTFM helper that assigns an FText created outside a transaction (open) into a variable that lives inside a transaction (closed), ensuring the shared ref-counted data is handled safely under AutoRTFM.
Caveats & Gotchas
- • This function exists solely to support AutoRTFM (Automatic Runtime Transactional Memory), an experimental UE feature. Do not call it in ordinary game or engine code — it has no effect and no meaning outside of an AutoRTFM transaction context.
- • The function signature and behaviour may change significantly between engine versions as AutoRTFM matures; treat any code that calls it as experimental and version-specific.
Signature
static CORE_API void AutoRTFMAssignFromOpenToClosed(FText& Closed, const FText& Open) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Closed | FText& | The closed (transactional) FText target to receive the value. | — |
| Open | const FText& | The open (non-transactional) FText source value. | — |
Return Type
void Example
Usage within an AutoRTFM transaction (experimental) C++
// Only relevant inside AutoRTFM::Transact() blocks
AutoRTFM::Transact([&]
{
FText::AutoRTFMAssignFromOpenToClosed(MyClosedText, OpenSourceText);
}); See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | experimental | AutoRTFM is experimental. |
Feedback
Was this helpful?