porting cel/range/algoritm.hpp

This commit is contained in:
bolero-MURAKAMI 2012-04-04 17:48:02 +09:00
parent cf593ffeff
commit ba6482d1ec
51 changed files with 1908 additions and 116 deletions

View file

@ -295,7 +295,7 @@ namespace sprout {
return size();
}
SPROUT_CONSTEXPR bool empty() const {
return size() == 0;
return first_ == last_;
}
// element access:
reference operator[](size_type i) {