diff options
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/basic_file.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.tcc | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/std_sstream.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/ropeimpl.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/stl_rope.h | 8 |
6 files changed, 9 insertions, 9 deletions
diff --git a/libstdc++-v3/include/bits/basic_file.h b/libstdc++-v3/include/bits/basic_file.h index e7c220a3801..aa624eec448 100644 --- a/libstdc++-v3/include/bits/basic_file.h +++ b/libstdc++-v3/include/bits/basic_file.h @@ -254,7 +254,7 @@ namespace std }; } // namespace std -// Now include the bits that are dependant on the underlying I/O +// Now include the bits that are dependent on the underlying I/O // model chosen at configure time. #include <bits/basic_file_model.h> diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index 05b54c55cf5..8ea0ed547ef 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -502,7 +502,7 @@ namespace std ~_Format_cache() throw() { } - // Given a member of the ios heirarchy as an argument, extract + // Given a member of the ios hierarchy as an argument, extract // out all the current formatting information into a // _Format_cache object and return a pointer to it. static _Format_cache<_CharT>* diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc index 0fe180b3486..b4c7f7c69e7 100644 --- a/libstdc++-v3/include/bits/locale_facets.tcc +++ b/libstdc++-v3/include/bits/locale_facets.tcc @@ -1841,7 +1841,7 @@ namespace std // NB: In IEE 1003.1-200x, and perhaps other locale models, it // is possible that the format character will be longer than one // character. Possibilities include 'E' or 'O' followed by a - // format charcter: if __mod is not the default argument, assume + // format character: if __mod is not the default argument, assume // it's a valid modifier. char_type __fmt[4]; __fmt[0] = __ctype.widen('%'); diff --git a/libstdc++-v3/include/bits/std_sstream.h b/libstdc++-v3/include/bits/std_sstream.h index 1b8d5eff947..d36070a8abe 100644 --- a/libstdc++-v3/include/bits/std_sstream.h +++ b/libstdc++-v3/include/bits/std_sstream.h @@ -90,7 +90,7 @@ namespace std if (_M_mode & ios_base::out) { // This is the deal: _M_string.size() is a value that - // represents the size of the intial string that makes + // represents the size of the initial string that makes // _M_string, and may not be the correct size of the // current stringbuf internal buffer. __size_type __len = _M_string.size(); diff --git a/libstdc++-v3/include/ext/ropeimpl.h b/libstdc++-v3/include/ext/ropeimpl.h index b8f45688a58..4d15517845f 100644 --- a/libstdc++-v3/include/ext/ropeimpl.h +++ b/libstdc++-v3/include/ext/ropeimpl.h @@ -977,7 +977,7 @@ rope<_CharT,_Alloc>::_S_flatten(_RopeRep* __r, _CharT* __buffer) } case _RopeRep::_S_function: case _RopeRep::_S_substringfn: - // We dont yet do anything with substring nodes. + // We don't yet do anything with substring nodes. // This needs to be fixed before ropefiles will work well. { _RopeFunction* __f = (_RopeFunction*)__r; diff --git a/libstdc++-v3/include/ext/stl_rope.h b/libstdc++-v3/include/ext/stl_rope.h index 00db893c923..72bdeb34373 100644 --- a/libstdc++-v3/include/ext/stl_rope.h +++ b/libstdc++-v3/include/ext/stl_rope.h @@ -340,7 +340,7 @@ identity_element(_Rope_Concat_fn<_CharT, _Alloc>) // that doesn't work, since it makes it impossible to define generic // equality on rope iterators. According to the draft standard, the // template parameters for such an equality operator cannot be inferred -// from the occurence of a member class as a parameter. +// from the occurrence of a member class as a parameter. // (SGI compilers in fact allow this, but the __result wouldn't be // portable.) // Similarly, some of the static member functions are member functions @@ -543,7 +543,7 @@ struct _Rope_RopeLeaf : public _Rope_RopeRep<_CharT,_Alloc> { public: // Apparently needed by VC++ // The data fields of leaves are allocated with some - // extra space, to accomodate future growth and for basic + // extra space, to accommodate future growth and for basic // character types, to hold a trailing eos character. enum { _S_alloc_granularity = 8 }; static size_t _S_rounded_up_size(size_t __n) { @@ -845,7 +845,7 @@ class _Rope_iterator_base public: typedef _Alloc _allocator_type; // used in _Rope_rotate, VC++ workaround typedef _Rope_RopeRep<_CharT,_Alloc> _RopeRep; - // Borland doesnt want this to be protected. + // Borland doesn't want this to be protected. protected: enum { _S_path_cache_len = 4 }; // Must be <= 9. enum { _S_iterator_buf_len = 15 }; @@ -1321,7 +1321,7 @@ class rope : public _Rope_base<_CharT,_Alloc> { const _CharT* __iter, size_t __slen) // As above, but one reference to __r is about to be // destroyed. Thus the pieces may be recycled if all - // relevent reference counts are 1. + // relevant reference counts are 1. # ifdef __GC // We can't really do anything since refcounts are unavailable. { return _S_concat_char_iter(__r, __iter, __slen); } |