From 9154975b1a54927189d4e0614b3d357ea65157c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 17 Jul 2016 22:16:30 -0400 Subject: [PATCH] Updated documentation --- misc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc.h b/misc.h index f846e72a..71e1cb51 100644 --- a/misc.h +++ b/misc.h @@ -423,7 +423,11 @@ inline void memmove_s(void *dest, size_t sizeInBytes, const void *src, size_t co # define memmove_s CryptoPP::memmove_s #endif +#endif // __STDC_WANT_SECURE_LIB__ + //! \brief Swaps two variables which are arrays +//! \param a the first value +//! \param b the second value //! \details C++03 does not provide support for std::swap(__m128i a, __m128i b) //! because __m128i is an unsigned long long[2]. Most compilers //! support it out of the box, but Sun Studio C++ compilers 12.2 and 12.3 do not. @@ -436,8 +440,6 @@ inline void vec_swap(T& a, T& b) t=a, a=b, b=t; } -#endif // __STDC_WANT_SECURE_LIB__ - //! \brief Memory block initializer and eraser that attempts to survive optimizations //! \param ptr pointer to the memory block being written //! \param value the integer value to write for each byte