Problem Description
Using placement new is a hassle due to the disconnect between the byte storage, construction, destruction and access syntax (due to the need to std::launder() the pointer).
Proposed Solution
A template type which binds the required functions, alignment and size requirements.
Problem Description
Using placement new is a hassle due to the disconnect between the byte storage, construction, destruction and access syntax (due to the need to
std::launder()the pointer).Proposed Solution
A template type which binds the required functions, alignment and size requirements.