From: Chris Lattner Date: Wed, 24 Jul 2002 22:07:13 +0000 (+0000) Subject: Add forward_iterator wrapper X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dd39be6c96ec6d139b94a2d08108384a09954865;p=oota-llvm.git Add forward_iterator wrapper git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3061 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/iterator b/include/Support/iterator index 095d6047aec..46cf9679369 100644 --- a/include/Support/iterator +++ b/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