Add iterator_range::end() predicate.

llvm-svn: 248447
This commit is contained in:
Rui Ueyama 2015-09-23 23:58:29 +00:00
parent 683dfd3124
commit ffc9b444a4
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public:
IteratorT begin() const { return begin_iterator; }
IteratorT end() const { return end_iterator; }
bool empty() const { return begin_iterator == end_iterator; }
};
/// \brief Convenience function for iterating over sub-ranges.