From bad64ee7e3bbadb95beb57dba53e43e96f3e5d02 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 22:07:13 +0000 Subject: [PATCH] Add forward_iterator wrapper llvm-svn: 3061 --- llvm/include/Support/iterator | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/include/Support/iterator b/llvm/include/Support/iterator index 095d6047aec9..46cf96793699 100644 --- a/llvm/include/Support/iterator +++ b/llvm/include/Support/iterator @@ -12,6 +12,7 @@ // following classes in the global namespace: // // 1. bidirectional_iterator +// 2. forward_iterator // //===----------------------------------------------------------------------===// @@ -28,9 +29,15 @@ struct bidirectional_iterator : public std::iterator { }; +template +struct forward_iterator + : public std::iterator { +}; + #else // Just use bidirectional_iterator directly. using std::bidirectional_iterator; +using std::forward_iterator; #endif #endif