On 2011-11-27 12:56, Timon Gehr wrote:
On 11/27/2011 12:36 PM, Jacob Carlborg wrote:

"auto" cannot be used here. Just like it can't be used in any place
where there is no implementation of a function.

Seems to me it needs to look something like this:

enum interface Range (T)
{
void popFront();
@property bool empty() const;
@property T front();
}


The element type is not a parameter to the range interface. See
'isInputRange'.

Ah, you're right, my bad.

--
/Jacob Carlborg

Reply via email to