digitalmars.D - isInputRange bug?
- Jonas Drewsen (4/4) Sep 21 2011 isInputRange!(immutable(void)[]) => false
- Timon Gehr (2/6) Sep 21 2011 immutable(void)[] is not a range because you cannot get it's front eleme...
- Jonas Drewsen (3/11) Sep 21 2011 I see. Thank you.
isInputRange!(immutable(void)[]) => false isInputRange!(immutable(char)[]) => true shouldn't both of them return true? /Jonas
Sep 21 2011
On 09/21/2011 09:42 PM, Jonas Drewsen wrote:isInputRange!(immutable(void)[]) => false isInputRange!(immutable(char)[]) => true shouldn't both of them return true? /Jonasimmutable(void)[] is not a range because you cannot get it's front element.
Sep 21 2011
On 21/09/11 21.52, Timon Gehr wrote:On 09/21/2011 09:42 PM, Jonas Drewsen wrote:I see. Thank you. /JonasisInputRange!(immutable(void)[]) => false isInputRange!(immutable(char)[]) => true shouldn't both of them return true? /Jonasimmutable(void)[] is not a range because you cannot get it's front element.
Sep 21 2011