mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 03:56:54 +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
|
||||
enum bool empty = false;
|
||||
/// Ditto
|
||||
void popFront() {}
|
||||
void popFront() const {}
|
||||
/// Ditto
|
||||
void popBack() const {}
|
||||
/// Ditto
|
||||
ref T opIndex(uint) { return _value; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue