mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 06:24:26 +02:00
Documented template parameters.
This commit is contained in:
@@ -46,11 +46,7 @@ namespace boost {
|
|||||||
namespace container {
|
namespace container {
|
||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
|
||||||
#else
|
|
||||||
template <class T, class Allocator>
|
template <class T, class Allocator>
|
||||||
#endif
|
|
||||||
class deque;
|
class deque;
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
@@ -467,9 +463,12 @@ class deque_base
|
|||||||
};
|
};
|
||||||
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
//! Deque class
|
|
||||||
//!
|
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
//! A double-ended queue is a sequence that supports random access to elements, constant time insertion
|
||||||
|
//! and removal of elements at the end of the sequence, and linear time insertion and removal of elements in the middle.
|
||||||
|
//!
|
||||||
|
//! \tparam T The type of object that is stored in the deque
|
||||||
|
//! \tparam Allocator The allocator used for all internal memory management
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
template <class T, class Allocator = std::allocator<T> >
|
||||||
#else
|
#else
|
||||||
template <class T, class Allocator>
|
template <class T, class Allocator>
|
||||||
|
@@ -111,6 +111,9 @@ struct intrusive_list_type
|
|||||||
//! after a list operation than it did before), but the iterators themselves will
|
//! after a list operation than it did before), but the iterators themselves will
|
||||||
//! not be invalidated or made to point to different elements unless that invalidation
|
//! not be invalidated or made to point to different elements unless that invalidation
|
||||||
//! or mutation is explicit.
|
//! or mutation is explicit.
|
||||||
|
//!
|
||||||
|
//! \tparam T The type of object that is stored in the list
|
||||||
|
//! \tparam Allocator The allocator used for all internal memory management
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
template <class T, class Allocator = std::allocator<T> >
|
||||||
#else
|
#else
|
||||||
|
@@ -140,6 +140,9 @@ struct intrusive_slist_type
|
|||||||
//! possible. If you find that insert_after and erase_after aren't adequate for your
|
//! possible. If you find that insert_after and erase_after aren't adequate for your
|
||||||
//! needs, and that you often need to use insert and erase in the middle of the list,
|
//! needs, and that you often need to use insert and erase in the middle of the list,
|
||||||
//! then you should probably use list instead of slist.
|
//! then you should probably use list instead of slist.
|
||||||
|
//!
|
||||||
|
//! \tparam T The type of object that is stored in the list
|
||||||
|
//! \tparam Allocator The allocator used for all internal memory management
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
template <class T, class Allocator = std::allocator<T> >
|
||||||
#else
|
#else
|
||||||
|
@@ -426,6 +426,9 @@ struct index_traits
|
|||||||
//!
|
//!
|
||||||
//! Exception safety: As stable_vector does not internally copy elements around, some
|
//! Exception safety: As stable_vector does not internally copy elements around, some
|
||||||
//! operations provide stronger exception safety guarantees than in std::vector.
|
//! operations provide stronger exception safety guarantees than in std::vector.
|
||||||
|
//!
|
||||||
|
//! \tparam T The type of object that is stored in the stable_vector
|
||||||
|
//! \tparam Allocator The allocator used for all internal memory management
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
template <class T, class Allocator = std::allocator<T> >
|
||||||
#else
|
#else
|
||||||
|
@@ -468,6 +468,10 @@ class basic_string_base
|
|||||||
//! end(), rbegin(), rend(), operator[], c_str(), and data() do not invalidate iterators.
|
//! end(), rbegin(), rend(), operator[], c_str(), and data() do not invalidate iterators.
|
||||||
//! In this implementation, iterators are only invalidated by member functions that
|
//! In this implementation, iterators are only invalidated by member functions that
|
||||||
//! explicitly change the string's contents.
|
//! explicitly change the string's contents.
|
||||||
|
//!
|
||||||
|
//! \tparam CharT The type of character it contains.
|
||||||
|
//! \tparam Traits The Character Traits type, which encapsulates basic character operations
|
||||||
|
//! \tparam Allocator The allocator, used for internal memory management.
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
template <class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> >
|
template <class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> >
|
||||||
#else
|
#else
|
||||||
|
@@ -527,8 +527,9 @@ struct vector_alloc_holder<Allocator, container_detail::integral_constant<unsign
|
|||||||
//! time insertion and removal of elements at the end, and linear time insertion
|
//! time insertion and removal of elements at the end, and linear time insertion
|
||||||
//! and removal of elements at the beginning or in the middle. The number of
|
//! and removal of elements at the beginning or in the middle. The number of
|
||||||
//! elements in a vector may vary dynamically; memory management is automatic.
|
//! elements in a vector may vary dynamically; memory management is automatic.
|
||||||
//! boost::container::vector is similar to std::vector but it's compatible
|
//!
|
||||||
//! with shared memory and memory mapped files.
|
//! \tparam T The type of object that is stored in the vector
|
||||||
|
//! \tparam Allocator The allocator used for all internal memory management
|
||||||
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
template <class T, class Allocator = std::allocator<T> >
|
template <class T, class Allocator = std::allocator<T> >
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user