From 7c77f26c2672eff71a31fea9d8a942ebcc03a34b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 29 Feb 2016 10:22:06 -0500 Subject: [PATCH] Update documentation --- secblock.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/secblock.h b/secblock.h index c890a5d6..589dadf2 100644 --- a/secblock.h +++ b/secblock.h @@ -224,8 +224,15 @@ public: return StandardReallocate(*this, oldPtr, oldSize, newSize, preserve); } - // VS.NET STL enforces the policy of "All STL-compliant allocators have to provide a - // template class member called rebind". + //! \brief Template class memeber Rebind + //! \tparam T allocated class or type + //! \tparam T_Align16 boolean that determines whether allocations should be aligned on 16-byte boundaries + //! \tparam U bound class or type + //! \details Rebind allows a container class to allocate a different type of object + //! to store elements. For example, a std::list will allocate std::list_node to + //! store elements in the list. + //! \details VS.NET STL enforces the policy of "All STL-compliant allocators + //! have to provide a template class member called rebind". template struct rebind { typedef AllocatorWithCleanup other; }; #if _MSC_VER >= 1500 AllocatorWithCleanup() {}