function template
std::construct_at
- Header
<memory>- Scope
std- cppreference
- std::construct_at
Synopsis
template<class T, class... Args>
requires construct-at-ok<T, Args...>
constexpr T* construct_at(
T* location,
Args&&... args) noexcept(noexcept(::new (static_cast<void *>(location)) T(static_cast<Args &&>(args)...)));