On 2/25/15 4:58 AM, Ivan Timokhin wrote:
Tobias Pankrath wrote:

     writefln("stack: %s", stack[]); //fine

This call consumes all ranges stored in stack, so they're empty afterwards.


This has to be a bug. stack[] should produce a range that can be iterated without destroying the data in the container. If it doesn't, it should be supported.

-Steve

Reply via email to