#include #include struct Item { int value; explicit Item(int n) noexcept : value(n) {} ~Item() noexcept {} }; int main() { std::allocator allocator; Item* storage = allocator.allocate(1); Item* item = std::construct_at(storage, 42); assert(item->value == 42); std::destroy_at(item); allocator.deallocate(storage, 1); }