From b6dbb1cb0924c58a272236b682c73046ecbddf97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 29 Aug 2016 00:04:58 +0200 Subject: [PATCH] Fix Doxygen warnings about missing documentation in some classes. --- include/boost/container/pmr/deque.hpp | 2 ++ include/boost/container/pmr/flat_map.hpp | 4 ++++ include/boost/container/pmr/flat_set.hpp | 4 ++++ include/boost/container/pmr/list.hpp | 2 ++ include/boost/container/pmr/map.hpp | 4 ++++ include/boost/container/pmr/set.hpp | 4 ++++ include/boost/container/pmr/slist.hpp | 2 ++ include/boost/container/pmr/small_vector.hpp | 2 ++ include/boost/container/pmr/stable_vector.hpp | 2 ++ include/boost/container/pmr/string.hpp | 2 ++ include/boost/container/pmr/vector.hpp | 2 ++ include/boost/container/slist.hpp | 5 ++++- 12 files changed, 34 insertions(+), 1 deletion(-) diff --git a/include/boost/container/pmr/deque.hpp b/include/boost/container/pmr/deque.hpp index 7447586..acb7da3 100644 --- a/include/boost/container/pmr/deque.hpp +++ b/include/boost/container/pmr/deque.hpp @@ -29,6 +29,8 @@ using deque = boost::container::deque>; #endif +//! A portable metafunction to obtain a deque +//! that uses a polymorphic allocator template struct deque_of { diff --git a/include/boost/container/pmr/flat_map.hpp b/include/boost/container/pmr/flat_map.hpp index 786c190..150d533 100644 --- a/include/boost/container/pmr/flat_map.hpp +++ b/include/boost/container/pmr/flat_map.hpp @@ -38,6 +38,8 @@ using flat_multimap = boost::container::flat_multimap @@ -47,6 +49,8 @@ struct flat_map_of typedef boost::container::flat_map > > type; }; +//! A portable metafunction to obtain a flat_multimap +//! that uses a polymorphic allocator template diff --git a/include/boost/container/pmr/flat_set.hpp b/include/boost/container/pmr/flat_set.hpp index 5c3ad1e..6d4292b 100644 --- a/include/boost/container/pmr/flat_set.hpp +++ b/include/boost/container/pmr/flat_set.hpp @@ -36,6 +36,8 @@ using flat_multiset = boost::container::flat_multiset ,class Options = tree_assoc_defaults > @@ -44,6 +46,8 @@ struct flat_set_of typedef boost::container::flat_set > type; }; +//! A portable metafunction to obtain a flat_multiset +//! that uses a polymorphic allocator template ,class Options = tree_assoc_defaults > diff --git a/include/boost/container/pmr/list.hpp b/include/boost/container/pmr/list.hpp index 5967f45..8bac3ba 100644 --- a/include/boost/container/pmr/list.hpp +++ b/include/boost/container/pmr/list.hpp @@ -29,6 +29,8 @@ using list = boost::container::list>; #endif +//! A portable metafunction to obtain a deque +//! that uses a polymorphic allocator template struct list_of { diff --git a/include/boost/container/pmr/map.hpp b/include/boost/container/pmr/map.hpp index fdada0e..165a473 100644 --- a/include/boost/container/pmr/map.hpp +++ b/include/boost/container/pmr/map.hpp @@ -38,6 +38,8 @@ using multimap = boost::container::multimap @@ -47,6 +49,8 @@ struct map_of typedef boost::container::map >, Options> type; }; +//! A portable metafunction to obtain a multimap +//! that uses a polymorphic allocator template diff --git a/include/boost/container/pmr/set.hpp b/include/boost/container/pmr/set.hpp index 6f2c3bf..04583ce 100644 --- a/include/boost/container/pmr/set.hpp +++ b/include/boost/container/pmr/set.hpp @@ -36,6 +36,8 @@ using multiset = boost::container::multiset ,class Options = tree_assoc_defaults > @@ -44,6 +46,8 @@ struct set_of typedef boost::container::set, Options> type; }; +//! A portable metafunction to obtain a multiset +//! that uses a polymorphic allocator template ,class Options = tree_assoc_defaults > diff --git a/include/boost/container/pmr/slist.hpp b/include/boost/container/pmr/slist.hpp index 4ee76c6..c90fd7d 100644 --- a/include/boost/container/pmr/slist.hpp +++ b/include/boost/container/pmr/slist.hpp @@ -29,6 +29,8 @@ using slist = boost::container::slist>; #endif +//! A portable metafunction to obtain a slist +//! that uses a polymorphic allocator template struct slist_of { diff --git a/include/boost/container/pmr/small_vector.hpp b/include/boost/container/pmr/small_vector.hpp index a79d5a0..6eef149 100644 --- a/include/boost/container/pmr/small_vector.hpp +++ b/include/boost/container/pmr/small_vector.hpp @@ -29,6 +29,8 @@ using small_vector = boost::container::small_vector struct small_vector_of { diff --git a/include/boost/container/pmr/stable_vector.hpp b/include/boost/container/pmr/stable_vector.hpp index 07a2059..d11c426 100644 --- a/include/boost/container/pmr/stable_vector.hpp +++ b/include/boost/container/pmr/stable_vector.hpp @@ -29,6 +29,8 @@ using stable_vector = boost::container::stable_vector struct stable_vector_of { diff --git a/include/boost/container/pmr/string.hpp b/include/boost/container/pmr/string.hpp index 2e879e3..c1eba67 100644 --- a/include/boost/container/pmr/string.hpp +++ b/include/boost/container/pmr/string.hpp @@ -30,6 +30,8 @@ using basic_string = #endif +//! A portable metafunction to obtain a basic_string +//! that uses a polymorphic allocator template > struct basic_string_of { diff --git a/include/boost/container/pmr/vector.hpp b/include/boost/container/pmr/vector.hpp index cef6ae5..2bd9c15 100644 --- a/include/boost/container/pmr/vector.hpp +++ b/include/boost/container/pmr/vector.hpp @@ -29,6 +29,8 @@ using vector = boost::container::vector>; #endif +//! A portable metafunction to obtain a vector +//! that uses a polymorphic allocator template struct vector_of { diff --git a/include/boost/container/slist.hpp b/include/boost/container/slist.hpp index 2b91eea..06863d6 100644 --- a/include/boost/container/slist.hpp +++ b/include/boost/container/slist.hpp @@ -1676,13 +1676,16 @@ namespace container { #include BOOST_CONTAINER_DOC1ST(namespace std {, BOOST_MOVE_STD_NS_BEG) +//! A specialization of insert_iterator +//! that works with slist template class insert_iterator > { - protected: + private: typedef boost::container::slist Container; Container* container; typename Container::iterator iter; + public: typedef Container container_type; typedef output_iterator_tag iterator_category;