From c9bc8f01e3eff91022093507e03cf7fe2c6c8838 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 31 Jan 2022 13:16:57 +0000 Subject: Document aligned_storage and use alignment_of_v. --- include/utility/aligned_storage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/utility/aligned_storage.h') diff --git a/include/utility/aligned_storage.h b/include/utility/aligned_storage.h index fbd9b5fba..e3e3895f8 100644 --- a/include/utility/aligned_storage.h +++ b/include/utility/aligned_storage.h @@ -24,13 +24,13 @@ namespace insp template class aligned_storage; } -/** */ +/** A block of preallocated memory which an object can be created into. */ template class insp::aligned_storage final { private: /** The underlying aligned storage block. */ - mutable typename std::aligned_storage::value>::type data; + mutable typename std::aligned_storage>::type data; public: /** Default constructor for the aligned_storage class. */ -- cgit v1.3.1-10-gc9f91