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