xentara-plugin v2.0.4
The Xentara Plugin Framework
Loading...
Searching...
No Matches
xentara::memory::WriteSentinel< Structure > Class Template Reference

A sentinel that protects write access to memory in a memory resource. More...

Related Symbols

(Note that these are not member symbols.)

constexpr CopyOldValuesTag kCopyOldValues
 A marker to tell a write sentinel to copy the old values.
 

Detailed Description

template<typename Structure>
class xentara::memory::WriteSentinel< Structure >

A sentinel that protects write access to memory in a memory resource.

Template Parameters
StructureDescribes the internal structure of the memory

Friends And Related Symbol Documentation

◆ kCopyOldValues

template<typename Structure >
constexpr CopyOldValuesTag kCopyOldValues
related

A marker to tell a write sentinel to copy the old values.

This marker is used to specify that a write sentinel should copy the old values instead of value-initializing the new block.