Getting a range over a const Container

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Jul 19 18:09:28 PDT 2012


On 07/19/2012 02:51 AM, Artur Skawina wrote:
>         Range!Node opSlice() { return Range!Node(first); }
>         Range!(const Node) opSlice() const { return Range!(const Node)(first); }


anyone mind cluing me in on why this is possible?


More information about the Digitalmars-d-learn mailing list