summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/ext/iterator
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 15:50:28 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 15:50:28 +0000
commit3305f7d0edbbb8ea8f85e325bdb4da47fb0c4108 (patch)
tree5e4a19a16ece761c718d5e8ef56f353f2ffd46ac /libstdc++-v3/include/ext/iterator
parent538165cd2b4b122bc9f00ae06dcc925e6f2c9dec (diff)
downloadppe42-gcc-3305f7d0edbbb8ea8f85e325bdb4da47fb0c4108.tar.gz
ppe42-gcc-3305f7d0edbbb8ea8f85e325bdb4da47fb0c4108.zip
2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Cleanups. * include/ext/functional: Same. * include/ext/hash_map: Same. * include/ext/hash_set: Same. * include/ext/iterator: Same. * include/ext/memory: Same. * include/ext/numeric: Same. * include/ext/rb_tree: Same. * include/ext/ropeimpl.h: Same. * include/ext/slist: Same. * include/ext/stdio_filebuf.h: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/ext/stl_rope.h: Move to... * include/ext/rope: ...here. * include/ext/stl_hash_fun.h: Move to... * include/ext/hash_fun.h: ...here. * include/ext/stl_hashtable.h: Move to... * include/ext/hashtable.h: ...here. * include/backward/hashtable.h: Reflect new names. * include/Makefile.am: Same. * include/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67551 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext/iterator')
-rw-r--r--libstdc++-v3/include/ext/iterator16
1 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/include/ext/iterator b/libstdc++-v3/include/ext/iterator
index f23212f241d..2a14a423282 100644
--- a/libstdc++-v3/include/ext/iterator
+++ b/libstdc++-v3/include/ext/iterator
@@ -60,19 +60,20 @@
*/
#ifndef _EXT_ITERATOR
-#define _EXT_ITERATOR
+#define _EXT_ITERATOR 1
#pragma GCC system_header
+
#include <bits/concept_check.h>
#include <iterator>
namespace __gnu_cxx
{
-
- // There are two signatures for distance. In addition to the one taking
- // two iterators and returning a result, there is another taking two
- // iterators and a reference-to-result variable, and returning nothing.
- // The latter seems to be an SGI extension. -- pedwards
+ // There are two signatures for distance. In addition to the one
+ // taking two iterators and returning a result, there is another
+ // taking two iterators and a reference-to-result variable, and
+ // returning nothing. The latter seems to be an SGI extension.
+ // -- pedwards
template<typename _InputIterator, typename _Distance>
inline void
__distance(_InputIterator __first, _InputIterator __last,
@@ -106,8 +107,7 @@ namespace __gnu_cxx
// concept requirements -- taken care of in __distance
__distance(__first, __last, __n, std::__iterator_category(__first));
}
-
} // namespace __gnu_cxx
-#endif /* _EXT_ITERATOR */
+#endif
OpenPOWER on IntegriCloud