mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 20:19:43 +03:00
bugzilla 3873 std.range.repeat should have popBack defined
This commit is contained in:
parent
093183db7a
commit
5cbe2adf7a
1 changed files with 9 additions and 7 deletions
|
@ -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; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue