bugzilla 3873 std.range.repeat should have popBack defined

This commit is contained in:
Masahiro Nakagawa 2010-05-17 16:34:10 +00:00
parent 093183db7a
commit 5cbe2adf7a

View file

@ -1408,7 +1408,9 @@ struct Repeat(T)
/// Ditto /// Ditto
enum bool empty = false; enum bool empty = false;
/// Ditto /// Ditto
void popFront() {} void popFront() const {}
/// Ditto
void popBack() const {}
/// Ditto /// Ditto
ref T opIndex(uint) { return _value; } ref T opIndex(uint) { return _value; }
} }