diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-05 08:18:58 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-05 08:18:58 +0000 |
commit | aa2cf7416354cb63753e27edc4f4c3ce37cedc03 (patch) | |
tree | 8c9df016fdc8ee5976277d325f989ee9fa11c109 /libstdc++-v3/include | |
parent | 2ece7c4f2dbc6d9c5c674296019072b822224454 (diff) | |
download | gcc-aa2cf7416354cb63753e27edc4f4c3ce37cedc03.tar.gz |
2003-07-05 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_bitset.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/std/std_fstream.h: Change comment to doxygen style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/std/std_bitset.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_fstream.h | 14 |
2 files changed, 12 insertions, 8 deletions
diff --git a/libstdc++-v3/include/std/std_bitset.h b/libstdc++-v3/include/std/std_bitset.h index f3abc8e3ad8..66ba2954020 100644 --- a/libstdc++-v3/include/std/std_bitset.h +++ b/libstdc++-v3/include/std/std_bitset.h @@ -228,7 +228,7 @@ namespace std _M_w[__wshift] = _M_w[0] << __offset; } - fill(_M_w + 0, _M_w + __wshift, static_cast<_WordT>(0)); + std::fill(_M_w + 0, _M_w + __wshift, static_cast<_WordT>(0)); } } @@ -253,8 +253,8 @@ namespace std (_M_w[__n + __wshift + 1] << __sub_offset); _M_w[__limit] = _M_w[_Nw-1] >> __offset; } - - fill(_M_w + __limit + 1, _M_w + _Nw, static_cast<_WordT>(0)); + + std::fill(_M_w + __limit + 1, _M_w + _Nw, static_cast<_WordT>(0)); } } diff --git a/libstdc++-v3/include/std/std_fstream.h b/libstdc++-v3/include/std/std_fstream.h index 2b2a88deeba..0e9f99ce80c 100644 --- a/libstdc++-v3/include/std/std_fstream.h +++ b/libstdc++-v3/include/std/std_fstream.h @@ -145,11 +145,15 @@ namespace std */ bool _M_buf_allocated; - // _M_reading == false && _M_writing == false for 'uncommitted' mode; - // _M_reading == true for 'read' mode; - // _M_writing == true for 'write' mode; - // - // NB: _M_reading == true && _M_writing == true is unused. + /** + * @if maint + * _M_reading == false && _M_writing == false for 'uncommitted' mode; + * _M_reading == true for 'read' mode; + * _M_writing == true for 'write' mode; + * + * NB: _M_reading == true && _M_writing == true is unused. + * @endif + */ bool _M_reading; bool _M_writing; |