diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-04-06 15:52:19 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-04-06 16:43:24 +0100 |
commit | f0b883464c58cb2f3f521776e65008b1fa75f79e (patch) | |
tree | f96b9f14540fad2648f8eb4a174037e93c3b48d0 /libstdc++-v3/include/bits/unordered_set.h | |
parent | 4bbd51afaa4a3c116fb538d912b35e126be80b41 (diff) | |
download | gcc-f0b883464c58cb2f3f521776e65008b1fa75f79e.tar.gz |
libstdc++: Fix doxygen markup for group close commands
A change in Doxygen 1.8.16 means that "// @}" is no longer recognized by
Doxygen, so doesn't close a @{ group. A "///" comment needs to be used.
libstdc++-v3/ChangeLog:
* include/bits/atomic_base.h: Fix doxygen group close.
* include/bits/basic_ios.h: Likewise.
* include/bits/forward_list.h: Likewise.
* include/bits/fs_dir.h: Likewise.
* include/bits/fs_ops.h: Likewise.
* include/bits/fs_path.h: Likewise.
* include/bits/functional_hash.h: Likewise.
* include/bits/gslice.h: Likewise.
* include/bits/gslice_array.h: Likewise.
* include/bits/hashtable_policy.h: Likewise.
* include/bits/indirect_array.h: Likewise.
* include/bits/locale_classes.h: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/locale_facets_nonio.h: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/refwrap.h: Likewise.
* include/bits/regex.h: Likewise.
* include/bits/regex_automaton.h: Likewise.
* include/bits/regex_compiler.h: Likewise.
* include/bits/regex_constants.h: Likewise.
* include/bits/regex_error.h: Likewise.
* include/bits/regex_executor.h: Likewise.
* include/bits/regex_scanner.h: Likewise.
* include/bits/shared_ptr.h: Likewise.
* include/bits/shared_ptr_atomic.h: Likewise.
* include/bits/shared_ptr_base.h: Likewise.
* include/bits/slice_array.h: Likewise.
* include/bits/specfun.h: Likewise.
* include/bits/std_function.h: Likewise.
* include/bits/std_mutex.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stream_iterator.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise.
* include/bits/unique_ptr.h: Likewise.
* include/bits/unordered_map.h: Likewise.
* include/bits/unordered_set.h: Likewise.
* include/decimal/decimal: Likewise.
* include/experimental/any: Likewise.
* include/experimental/array: Likewise.
* include/experimental/bits/fs_dir.h: Likewise.
* include/experimental/bits/fs_fwd.h: Likewise.
* include/experimental/bits/fs_ops.h: Likewise.
* include/experimental/bits/fs_path.h: Likewise.
* include/experimental/buffer: Likewise.
* include/experimental/internet: Likewise.
* include/experimental/optional: Likewise.
* include/experimental/propagate_const: Likewise.
* include/experimental/socket: Likewise.
* include/ext/pb_ds/assoc_container.hpp: Likewise.
* include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
Likewise.
* include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Likewise.
* include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Likewise.
* include/ext/pb_ds/detail/types_traits.hpp: Likewise.
* include/ext/pb_ds/exception.hpp: Likewise.
* include/ext/pb_ds/priority_queue.hpp: Likewise.
* include/ext/pb_ds/tag_and_trait.hpp: Likewise.
* include/ext/random: Likewise.
* include/std/any: Likewise.
* include/std/atomic: Likewise.
* include/std/bitset: Likewise.
* include/std/chrono: Likewise.
* include/std/complex: Likewise.
* include/std/condition_variable: Likewise.
* include/std/fstream: Likewise.
* include/std/future: Likewise.
* include/std/iostream: Likewise.
* include/std/istream: Likewise.
* include/std/mutex: Likewise.
* include/std/numeric: Likewise.
* include/std/ostream: Likewise.
* include/std/ratio: Likewise.
* include/std/shared_mutex: Likewise.
* include/std/stdexcept: Likewise.
* include/std/streambuf: Likewise.
* include/std/system_error: Likewise.
* include/std/thread: Likewise.
* include/std/valarray: Likewise.
* include/std/variant: Likewise.
* include/tr1/cmath: Likewise.
* include/tr1/regex: Likewise.
* include/tr2/dynamic_bitset: Likewise.
* libsupc++/atomic_lockfree_defines.h: Likewise.
* libsupc++/exception: Likewise.
* libsupc++/exception.h: Likewise.
* libsupc++/exception_ptr.h: Likewise.
* libsupc++/nested_exception.h: Likewise.
libstdc++-v3/ChangeLog:
* include/tr1/regex:
Diffstat (limited to 'libstdc++-v3/include/bits/unordered_set.h')
-rw-r--r-- | libstdc++-v3/include/bits/unordered_set.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/libstdc++-v3/include/bits/unordered_set.h b/libstdc++-v3/include/bits/unordered_set.h index 63c1a7efd8a..ac4a890d25a 100644 --- a/libstdc++-v3/include/bits/unordered_set.h +++ b/libstdc++-v3/include/bits/unordered_set.h @@ -101,16 +101,16 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER public: // typedefs: - //@{ + ///@{ /// Public typedefs. typedef typename _Hashtable::key_type key_type; typedef typename _Hashtable::value_type value_type; typedef typename _Hashtable::hasher hasher; typedef typename _Hashtable::key_equal key_equal; typedef typename _Hashtable::allocator_type allocator_type; - //@} + ///@} - //@{ + ///@{ /// Iterator-related typedefs. typedef typename _Hashtable::pointer pointer; typedef typename _Hashtable::const_pointer const_pointer; @@ -122,7 +122,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER typedef typename _Hashtable::const_local_iterator const_local_iterator; typedef typename _Hashtable::size_type size_type; typedef typename _Hashtable::difference_type difference_type; - //@} + ///@} #if __cplusplus > 201402L using node_type = typename _Hashtable::node_type; @@ -311,7 +311,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // iterators. - //@{ + ///@{ /** * Returns a read-only (constant) iterator that points to the first * element in the %unordered_set. @@ -323,9 +323,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_iterator begin() const noexcept { return _M_h.begin(); } - //@} + ///@} - //@{ + ///@{ /** * Returns a read-only (constant) iterator that points one past the last * element in the %unordered_set. @@ -337,7 +337,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_iterator end() const noexcept { return _M_h.end(); } - //@} + ///@} /** * Returns a read-only (constant) iterator that points to the first @@ -403,7 +403,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER emplace_hint(const_iterator __pos, _Args&&... __args) { return _M_h.emplace_hint(__pos, std::forward<_Args>(__args)...); } - //@{ + ///@{ /** * @brief Attempts to insert an element into the %unordered_set. * @param __x Element to be inserted. @@ -424,9 +424,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER std::pair<iterator, bool> insert(value_type&& __x) { return _M_h.insert(std::move(__x)); } - //@} + ///@} - //@{ + ///@{ /** * @brief Attempts to insert an element into the %unordered_set. * @param __hint An iterator that serves as a hint as to where the @@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER iterator insert(const_iterator __hint, value_type&& __x) { return _M_h.insert(__hint, std::move(__x)); } - //@} + ///@} /** * @brief A template function that attempts to insert a range of @@ -505,7 +505,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER { return _M_h._M_reinsert_node(std::move(__nh)).position; } #endif // C++17 - //@{ + ///@{ /** * @brief Erases an element from an %unordered_set. * @param __position An iterator pointing to the element to be erased. @@ -527,7 +527,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER iterator erase(iterator __position) { return _M_h.erase(__position); } - //@} + ///@} /** * @brief Erases elements according to the provided key. @@ -634,7 +634,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // lookup. - //@{ + ///@{ /** * @brief Tries to locate an element in an %unordered_set. * @param __x Element to be located. @@ -669,9 +669,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER -> decltype(_M_h._M_find_tr(__k)) { return _M_h._M_find_tr(__k); } #endif - //@} + ///@} - //@{ + ///@{ /** * @brief Finds the number of elements. * @param __x Element to located. @@ -692,10 +692,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER -> decltype(_M_h._M_count_tr(__k)) { return _M_h._M_count_tr(__k); } #endif - //@} + ///@} #if __cplusplus > 201703L - //@{ + ///@{ /** * @brief Finds whether an element with the given key exists. * @param __x Key of elements to be located. @@ -710,10 +710,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER contains(const _Kt& __k) const -> decltype(_M_h._M_find_tr(__k), void(), true) { return _M_h._M_find_tr(__k) != _M_h.end(); } - //@} + ///@} #endif - //@{ + ///@{ /** * @brief Finds a subsequence matching given key. * @param __x Key to be located. @@ -745,7 +745,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER -> decltype(_M_h._M_equal_range_tr(__k)) { return _M_h._M_equal_range_tr(__k); } #endif - //@} + ///@} // bucket interface. @@ -777,7 +777,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER bucket(const key_type& __key) const { return _M_h.bucket(__key); } - //@{ + ///@{ /** * @brief Returns a read-only (constant) iterator pointing to the first * bucket element. @@ -795,9 +795,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_local_iterator cbegin(size_type __n) const { return _M_h.cbegin(__n); } - //@} + ///@} - //@{ + ///@{ /** * @brief Returns a read-only (constant) iterator pointing to one past * the last bucket elements. @@ -815,7 +815,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_local_iterator cend(size_type __n) const { return _M_h.cend(__n); } - //@} + ///@} // hash policy. @@ -967,16 +967,16 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER public: // typedefs: - //@{ + ///@{ /// Public typedefs. typedef typename _Hashtable::key_type key_type; typedef typename _Hashtable::value_type value_type; typedef typename _Hashtable::hasher hasher; typedef typename _Hashtable::key_equal key_equal; typedef typename _Hashtable::allocator_type allocator_type; - //@} + ///@} - //@{ + ///@{ /// Iterator-related typedefs. typedef typename _Hashtable::pointer pointer; typedef typename _Hashtable::const_pointer const_pointer; @@ -988,7 +988,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER typedef typename _Hashtable::const_local_iterator const_local_iterator; typedef typename _Hashtable::size_type size_type; typedef typename _Hashtable::difference_type difference_type; - //@} + ///@} #if __cplusplus > 201402L using node_type = typename _Hashtable::node_type; @@ -1176,7 +1176,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // iterators. - //@{ + ///@{ /** * Returns a read-only (constant) iterator that points to the first * element in the %unordered_multiset. @@ -1188,9 +1188,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_iterator begin() const noexcept { return _M_h.begin(); } - //@} + ///@} - //@{ + ///@{ /** * Returns a read-only (constant) iterator that points one past the last * element in the %unordered_multiset. @@ -1202,7 +1202,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_iterator end() const noexcept { return _M_h.end(); } - //@} + ///@} /** * Returns a read-only (constant) iterator that points to the first @@ -1256,7 +1256,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER emplace_hint(const_iterator __pos, _Args&&... __args) { return _M_h.emplace_hint(__pos, std::forward<_Args>(__args)...); } - //@{ + ///@{ /** * @brief Inserts an element into the %unordered_multiset. * @param __x Element to be inserted. @@ -1271,9 +1271,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER iterator insert(value_type&& __x) { return _M_h.insert(std::move(__x)); } - //@} + ///@} - //@{ + ///@{ /** * @brief Inserts an element into the %unordered_multiset. * @param __hint An iterator that serves as a hint as to where the @@ -1297,7 +1297,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER iterator insert(const_iterator __hint, value_type&& __x) { return _M_h.insert(__hint, std::move(__x)); } - //@} + ///@} /** * @brief A template function that inserts a range of elements. @@ -1348,7 +1348,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER { return _M_h._M_reinsert_node_multi(__hint, std::move(__nh)); } #endif // C++17 - //@{ + ///@{ /** * @brief Erases an element from an %unordered_multiset. * @param __position An iterator pointing to the element to be erased. @@ -1371,7 +1371,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER iterator erase(iterator __position) { return _M_h.erase(__position); } - //@} + ///@} /** @@ -1484,7 +1484,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // lookup. - //@{ + ///@{ /** * @brief Tries to locate an element in an %unordered_multiset. * @param __x Element to be located. @@ -1519,9 +1519,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER -> decltype(_M_h._M_find_tr(__x)) { return _M_h._M_find_tr(__x); } #endif - //@} + ///@} - //@{ + ///@{ /** * @brief Finds the number of elements. * @param __x Element to located. @@ -1537,10 +1537,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER count(const _Kt& __x) const -> decltype(_M_h._M_count_tr(__x)) { return _M_h._M_count_tr(__x); } #endif - //@} + ///@} #if __cplusplus > 201703L - //@{ + ///@{ /** * @brief Finds whether an element with the given key exists. * @param __x Key of elements to be located. @@ -1555,10 +1555,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER contains(const _Kt& __x) const -> decltype(_M_h._M_find_tr(__x), void(), true) { return _M_h._M_find_tr(__x) != _M_h.end(); } - //@} + ///@} #endif - //@{ + ///@{ /** * @brief Finds a subsequence matching given key. * @param __x Key to be located. @@ -1588,7 +1588,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER -> decltype(_M_h._M_equal_range_tr(__x)) { return _M_h._M_equal_range_tr(__x); } #endif - //@} + ///@} // bucket interface. @@ -1620,7 +1620,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER bucket(const key_type& __key) const { return _M_h.bucket(__key); } - //@{ + ///@{ /** * @brief Returns a read-only (constant) iterator pointing to the first * bucket element. @@ -1638,9 +1638,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_local_iterator cbegin(size_type __n) const { return _M_h.cbegin(__n); } - //@} + ///@} - //@{ + ///@{ /** * @brief Returns a read-only (constant) iterator pointing to one past * the last bucket elements. @@ -1658,7 +1658,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER const_local_iterator cend(size_type __n) const { return _M_h.cend(__n); } - //@} + ///@} // hash policy. |