From b20bd360fceeeb63c8d211315cfc439ae709efa5 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 25 Dec 2020 00:40:54 -0500 Subject: Update documentation --- misc.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'misc.h') diff --git a/misc.h b/misc.h index f7a7b760..c272ee7e 100644 --- a/misc.h +++ b/misc.h @@ -1170,12 +1170,11 @@ inline T1 RoundUpToMultipleOf(const T1 &n, const T2 &m) /// \brief Returns the minimum alignment requirements of a type /// \tparam T class or type /// \return the minimum alignment requirements of T, in bytes -/// \details Internally the function calls C++11's alignof if available. If not -/// available, then the function uses compiler specific extensions such as -/// __alignof and _alignof_. If an extension is not available, then -/// the function uses __BIGGEST_ALIGNMENT__ if __BIGGEST_ALIGNMENT__ -/// is smaller than sizeof(T). sizeof(T) is used if all others are -/// not available. +/// \details Internally the function calls C++11's alignof if +/// available. If not available, then the function uses compiler +/// specific extensions such as __alignof and _alignof_. +/// If an extension is not available, then the function uses +/// sizeof(T). template inline unsigned int GetAlignmentOf() { -- cgit v1.2.1