summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-05-11 16:13:16 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-05-13 13:32:22 +0100
commit757146fb1c82b49e78ee82c882677814f25c2429 (patch)
tree76017f4192667098f5e0e26f5170573de0309596 /libstdc++-v3
parentlibstdc++: Add macros for the inline namespace std::_V2 (diff)
downloadgcc-757146fb1c82b49e78ee82c882677814f25c2429.tar.gz
gcc-757146fb1c82b49e78ee82c882677814f25c2429.tar.bz2
gcc-757146fb1c82b49e78ee82c882677814f25c2429.tar.xz
libstdc++: Improve doxygen docs for std::pointer_traits
libstdc++-v3/ChangeLog: * include/bits/ptr_traits.h: Add some doxygen comments.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/include/bits/ptr_traits.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/ptr_traits.h b/libstdc++-v3/include/bits/ptr_traits.h
index 047efa5cf28..8360c3b6557 100644
--- a/libstdc++-v3/include/bits/ptr_traits.h
+++ b/libstdc++-v3/include/bits/ptr_traits.h
@@ -47,6 +47,8 @@ namespace std _GLIBCXX_VISIBILITY(default)
47{ 47{
48_GLIBCXX_BEGIN_NAMESPACE_VERSION 48_GLIBCXX_BEGIN_NAMESPACE_VERSION
49 49
50 /// @cond undocumented
51
50 class __undefined; 52 class __undefined;
51 53
52 // For a specialization `SomeTemplate<T, Types...>` the member `type` is T, 54 // For a specialization `SomeTemplate<T, Types...>` the member `type` is T,
@@ -91,6 +93,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
91 using __ptr_traits_elem_t = typename __ptr_traits_elem<_Ptr>::type; 93 using __ptr_traits_elem_t = typename __ptr_traits_elem<_Ptr>::type;
92#endif 94#endif
93 95
96 /// @endcond
97
94 // Define pointer_traits<P>::pointer_to. 98 // Define pointer_traits<P>::pointer_to.
95 template<typename _Ptr, typename _Elt, bool = is_void<_Elt>::value> 99 template<typename _Ptr, typename _Elt, bool = is_void<_Elt>::value>
96 struct __ptr_traits_ptr_to 100 struct __ptr_traits_ptr_to
@@ -187,6 +191,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
187 191
188 /** 192 /**
189 * @brief Uniform interface to all pointer-like types 193 * @brief Uniform interface to all pointer-like types
194 * @headerfile memory
190 * @ingroup pointer_abstractions 195 * @ingroup pointer_abstractions
191 * @since C++11 196 * @since C++11
192 */ 197 */
@@ -203,6 +208,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
203 208
204 /** 209 /**
205 * @brief Partial specialization for built-in pointers. 210 * @brief Partial specialization for built-in pointers.
211 * @headerfile memory
206 * @ingroup pointer_abstractions 212 * @ingroup pointer_abstractions
207 * @since C++11 213 * @since C++11
208 */ 214 */