From: redi Date: Thu, 6 May 2010 19:57:58 +0000 (+0000) Subject: 2010-05-06 Jonathan Wakely X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0291d2706b644fdc16313a8ee85e8bab364051ae;hp=5f52d2e22c7355508a5a06812bf150125cbe5e89 2010-05-06 Jonathan Wakely PR libstdc++/44014 * include/bits/stringfwd.h: Add doxygen comments and new group. * include/bits/basic_string.h: Add to new doxygen group. * doc/doxygen/user.cfg.in (ALIASES): Link to correct group. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159126 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a47ca80492a..93ddc33a958 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2010-05-06 Jonathan Wakely + + PR libstdc++/44014 + * include/bits/stringfwd.h: Add doxygen comments and new group. + * include/bits/basic_string.h: Add to new doxygen group. + * doc/doxygen/user.cfg.in (ALIASES): Link to correct group. + 2010-05-06 Rainer Orth * configure.host: Removed irix[1-6], irix[1-5].*, irix6.[0-4]* diff --git a/libstdc++-v3/doc/doxygen/user.cfg.in b/libstdc++-v3/doc/doxygen/user.cfg.in index 40e75087be6..118f9e78975 100644 --- a/libstdc++-v3/doc/doxygen/user.cfg.in +++ b/libstdc++-v3/doc/doxygen/user.cfg.in @@ -180,7 +180,7 @@ TAB_SIZE = 4 # You can put \n's in the value part of an alias to insert newlines. ALIASES = "doctodo=@todo\nDoc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more. " \ - "isiosfwd=One of the @link ios I/O @endlink " + "isiosfwd=One of the @link io I/O @endlink typedefs" # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C # sources only. Doxygen will then generate output that is more tailored for C. diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index b022c306053..49cadda172a 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -48,13 +48,14 @@ _GLIBCXX_BEGIN_NAMESPACE(std) * @class basic_string basic_string.h * @brief Managing sequences of characters and character-like objects. * + * @ingroup strings * @ingroup sequences * * Meets the requirements of a container, a * reversible container, and a * sequence. Of the * optional sequence requirements, only - * @c push_back, @c at, and array access are supported. + * @c push_back, @c at, and @c %array access are supported. * * @doctodo * diff --git a/libstdc++-v3/include/bits/stringfwd.h b/libstdc++-v3/include/bits/stringfwd.h index c63e777b718..5679be76524 100644 --- a/libstdc++-v3/include/bits/stringfwd.h +++ b/libstdc++-v3/include/bits/stringfwd.h @@ -1,6 +1,7 @@ // String support -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +// 2010 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -44,6 +45,12 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template class allocator; + /** + * @defgroup strings Strings + * + * @{ + */ + template struct char_traits; @@ -53,12 +60,12 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<> struct char_traits; - typedef basic_string string; + typedef basic_string string; ///< A string of @c char #ifdef _GLIBCXX_USE_WCHAR_T template<> struct char_traits; - typedef basic_string wstring; + typedef basic_string wstring; ///< A string of @c wchar_t #endif #if (defined(__GXX_EXPERIMENTAL_CXX0X__) \ @@ -67,10 +74,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<> struct char_traits; template<> struct char_traits; - typedef basic_string u16string; - typedef basic_string u32string; + typedef basic_string u16string; ///< A string of @c char16_t + typedef basic_string u32string; ///< A string of @c char32_t #endif + /** @} */ _GLIBCXX_END_NAMESPACE