add adaptors::blanked

This commit is contained in:
bolero-MURAKAMI 2012-11-17 18:44:24 +09:00
parent e286c9bc6b
commit ded2da84ea
27 changed files with 350 additions and 349 deletions

View file

@ -49,10 +49,10 @@ namespace sprout {
return const_iterator(elem, static_size);
}
iterator end() SPROUT_NOEXCEPT {
return iterator();
return iterator(elem, 0);
}
SPROUT_CONSTEXPR const_iterator end() const SPROUT_NOEXCEPT {
return const_iterator();
return const_iterator(elem, 0);
}
reverse_iterator rbegin() SPROUT_NOEXCEPT {
return reverse_iterator(end());
@ -70,7 +70,7 @@ namespace sprout {
return const_iterator(elem, static_size);
}
SPROUT_CONSTEXPR const_iterator cend() const SPROUT_NOEXCEPT {
return const_iterator();
return const_iterator(elem, 0);
}
SPROUT_CONSTEXPR const_reverse_iterator crbegin() const SPROUT_NOEXCEPT {
return const_reverse_iterator(end());