Ticket #8998: 0001-format-fix-documentation.patch

File 0001-format-fix-documentation.patch, 1.6 KB (added by timblechmann, 9 years ago)
  • libs/format/doc/format.html

    From 45e058f2c5049f13b72dad0c4152c440ac2f4b25 Mon Sep 17 00:00:00 2001
    From: Tim Blechmann <tim@klingt.org>
    Date: Tue, 23 Jul 2013 13:53:52 +0200
    Subject: [PATCH] format: fix documentation
    
    convert string_t to string_type to match with implementation
    ---
     libs/format/doc/format.html | 12 ++++++------
     1 file changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/libs/format/doc/format.html b/libs/format/doc/format.html
    index ca30364..ffae8f4 100644
    a b template&lt;class charT, class Traits=std::char_traits&lt;charT&gt; &gt;  
    931931class basic_format
    932932{
    933933public:
    934   typedef std::basic_string&lt;charT, Traits&gt; string_t;
    935   typedef typename string_t::size_type     size_type;
     934  typedef std::basic_string&lt;charT, Traits&gt; string_type;
     935  typedef typename string_type::size_type     size_type;
    936936  basic_format(const charT* str);
    937937  basic_format(const charT* str, const std::locale &amp; loc);
    938   basic_format(const string_t&amp; s);
    939   basic_format(const string_t&amp; s, const std::locale &amp; loc);
     938  basic_format(const string_type&amp; s);
     939  basic_format(const string_type&amp; s, const std::locale &amp; loc);
    940940  basic_format&amp; operator= (const basic_format&amp; x);
    941941
    942942  void clear(); // reset buffers
    943   basic_format&amp; parse(const string_t&amp;); // clears and parse a new format string
     943  basic_format&amp; parse(const string_type&amp;); // clears and parse a new format string
    944944
    945   string_t str() const;
     945  string_type str() const;
    946946  size_type size() const;
    947947
    948948  // pass arguments through those operators :