aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2003-07-05 10:18:58 +0200
committerPaolo Carlini <paolo@gcc.gnu.org>2003-07-05 08:18:58 +0000
commita8cad3e1dddb9f0c14cb6e757dc6d7c6e466d6a8 (patch)
tree8c9df016fdc8ee5976277d325f989ee9fa11c109
parent8bb038d4f0befc4de7c868f033f4c85da57f6207 (diff)
downloadgcc-a8cad3e1dddb9f0c14cb6e757dc6d7c6e466d6a8.zip
gcc-a8cad3e1dddb9f0c14cb6e757dc6d7c6e466d6a8.tar.gz
gcc-a8cad3e1dddb9f0c14cb6e757dc6d7c6e466d6a8.tar.bz2
std_bitset.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.
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. From-SVN: r68964
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/include/std/std_bitset.h6
-rw-r--r--libstdc++-v3/include/std/std_fstream.h14
3 files changed, 19 insertions, 8 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dfce033..758d048 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2003-07-05 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_limits.h: More CPP->CXX changes.
diff --git a/libstdc++-v3/include/std/std_bitset.h b/libstdc++-v3/include/std/std_bitset.h
index f3abc8e..66ba295 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 2b2a88d..0e9f99c 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;