[v3 patch] fix formatting in doxygen comment

Jonathan Wakely jwakely.gcc@gmail.com
Tue Dec 3 12:59:00 GMT 2013


2013-12-03  Jonathan Wakely  <jwakely.gcc@gmail.com>

       * include/std/fstream (basic_filebuf::open): Use preformatted text
       for table in Doxygen comment.

Tested x86_64-linux. Committed to trunk.
-------------- next part --------------
commit 8699304a9d3261d2b52636ee46c0203538de8fa1
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Tue Dec 3 12:40:46 2013 +0000

    	* include/std/fstream (basic_filebuf::open): Use preformatted text
    	for table in Doxygen comment.

diff --git a/libstdc++-v3/include/std/fstream b/libstdc++-v3/include/std/fstream
index 48e5c3d..701247a 100644
--- a/libstdc++-v3/include/std/fstream
+++ b/libstdc++-v3/include/std/fstream
@@ -238,9 +238,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
        *  given in @a __mode.
        *
        *  Table 92, adapted here, gives the relation between openmode
-       *  combinations and the equivalent fopen() flags.
+       *  combinations and the equivalent @c fopen() flags.
        *  (NB: lines app, in|out|app, in|app, binary|app, binary|in|out|app,
        *  and binary|in|app per DR 596)
+       *  <pre>
        *  +---------------------------------------------------------+
        *  | ios_base Flag combination            stdio equivalent   |
        *  |binary  in  out  trunc  app                              |
@@ -265,6 +266,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
        *  |   +     +   +           +            a+b                |
        *  |   +     +               +            a+b                |
        *  +---------------------------------------------------------+
+       *  </pre>
        */
       __filebuf_type*
       open(const char* __s, ios_base::openmode __mode);


More information about the Libstdc++ mailing list