diff options
Diffstat (limited to 'libstdc++-v3/include/bits/postypes.h')
-rw-r--r-- | libstdc++-v3/include/bits/postypes.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libstdc++-v3/include/bits/postypes.h b/libstdc++-v3/include/bits/postypes.h index 8fc8cf986bb..2870a8e59a1 100644 --- a/libstdc++-v3/include/bits/postypes.h +++ b/libstdc++-v3/include/bits/postypes.h @@ -1,7 +1,7 @@ // Position types -*- C++ -*- // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -// 2006, 2007 +// 2006, 2007, 2008 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) // The types streamoff, streampos and wstreampos and the class // template fpos<> are described in clauses 21.1.2, 21.1.3, 27.1.2, - // 27.2, 27.4.1, 27.4.3 and D.6. Despite all this verbage, the + // 27.2, 27.4.1, 27.4.3 and D.6. Despite all this verbiage, the // behaviour of these types is mostly implementation defined or // unspecified. The behaviour in this implementation is as noted // below. @@ -62,12 +62,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) /** * @brief Type used by fpos, char_traits<char>, and char_traits<wchar_t>. * - * @if maint * In clauses 21.1.3.1 and 27.4.1 streamoff is described as an * implementation defined type. * Note: In versions of GCC up to and including GCC 3.3, streamoff * was typedef long. - * @endif */ #ifdef _GLIBCXX_HAVE_INT64_T typedef int64_t streamoff; @@ -128,7 +126,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) { return _M_state; } // The standard requires that this operator must be defined, but - // gives no semantics. In this implemenation it just adds it's + // gives no semantics. In this implementation it just adds its // argument to the stored offset and returns *this. /// Add offset to this position. fpos& @@ -139,8 +137,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } // The standard requires that this operator must be defined, but - // gives no semantics. In this implemenation it just subtracts - // it's argument from the stored offset and returns *this. + // gives no semantics. In this implementation it just subtracts + // its argument from the stored offset and returns *this. /// Subtract offset from this position. fpos& operator-=(streamoff __off) @@ -150,7 +148,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } // The standard requires that this operator must be defined, but - // defines it's semantics only in terms of operator-. In this + // defines its semantics only in terms of operator-. In this // implementation it constructs a copy of *this, adds the // argument to that copy using operator+= and then returns the // copy. @@ -164,7 +162,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } // The standard requires that this operator must be defined, but - // defines it's semantics only in terms of operator+. In this + // defines its semantics only in terms of operator+. In this // implementation it constructs a copy of *this, subtracts the // argument from that copy using operator-= and then returns the // copy. @@ -178,7 +176,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } // The standard requires that this operator must be defined, but - // defines it's semantics only in terms of operator+. In this + // defines its semantics only in terms of operator+. In this // implementation it returns the difference between the offset // stored in *this and in the argument. /// Subtract position to return offset. |