From c1be2097d7f0e919767c95b8c5ae256cf6a1e5a8 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sat, 4 Dec 2021 00:22:51 -0500 Subject: [PATCH] Minor documentation changes --- doc/allocator_traits.qbk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/allocator_traits.qbk b/doc/allocator_traits.qbk index 3b20d32..f04a62b 100644 --- a/doc/allocator_traits.qbk +++ b/doc/allocator_traits.qbk @@ -87,14 +87,14 @@ struct allocator_traits { [[`static pointer allocate(A& a, size_type n, const_void_pointer h);`] [Equivalent to: `return boost::allocator_allocate(a, n, h);`]] [[`static void deallocate(A& a, pointer p, size_type n);`] -[Equivalent to: `return boost::allocator_deallocate(a, n, h);`]] +[Equivalent to: `boost::allocator_deallocate(a, n, h);`]] [[`template static void construct(A& a, T* p, Args&&... args);`] [Equivalent to: -`return boost::allocator_construct(a, p, std::forward(args)...);`]] +`boost::allocator_construct(a, p, std::forward(args)...);`]] [[`static void destroy(A& a, T* p);`] -[Equivalent to: `return boost::allocator_destroy(a, p);`]] -[[`static size_type max_size(const A& a);`] +[Equivalent to: `boost::allocator_destroy(a, p);`]] +[[`static size_type max_size(const A& a) noexcept;`] [Equivalent to: `return boost::allocator_max_size(a);`]] [[`static A select_on_container_copy_construction(const A& a);`] [Equivalent to: