From 64e3627f5c19541fd4971bd24ac83a11de973e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 23 Mar 2012 17:51:20 +0000 Subject: [PATCH] Fixed documentation comments [SVN r77504] --- include/boost/container/scoped_allocator.hpp | 23 +++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/include/boost/container/scoped_allocator.hpp b/include/boost/container/scoped_allocator.hpp index 88bbeb0..cbadff7 100644 --- a/include/boost/container/scoped_allocator.hpp +++ b/include/boost/container/scoped_allocator.hpp @@ -71,17 +71,9 @@ class scoped_allocator_adaptor; //! by an argument of a type that satisfies the Allocator requirements struct allocator_arg_t{}; -static const allocator_arg_t allocator_arg = allocator_arg_t(); - -//! Remark: Automatically detects if T has a nested allocator_type that is convertible from -//! Alloc. Meets the BinaryTypeTrait requirements ([meta.rqmts] 20.4.1). A program may -//! specialize this type to derive from true_type for a T of user-defined type if T does not -//! have a nested allocator_type but is nonetheless constructible using the specified Alloc. +//! A instance of type allocator_arg_t //! -//! Result: derived from true_type if Convertible and -//! derived from false_type otherwise. -template -struct uses_allocator; +static const allocator_arg_t allocator_arg = allocator_arg_t(); //! Remark: if a specialization is derived from true_type, indicates that T may be constructed //! with an allocator as its last constructor argument. Ideally, all constructors of T (including the @@ -207,11 +199,22 @@ struct uses_allocator_imp } //namespace container_detail { +///@endcond + +//! Remark: Automatically detects if T has a nested allocator_type that is convertible from +//! Alloc. Meets the BinaryTypeTrait requirements ([meta.rqmts] 20.4.1). A program may +//! specialize this type to derive from true_type for a T of user-defined type if T does not +//! have a nested allocator_type but is nonetheless constructible using the specified Alloc. +//! +//! Result: derived from true_type if Convertible and +//! derived from false_type otherwise. template struct uses_allocator : boost::integral_constant::value> {}; +///@cond + namespace container_detail { template