On Wednesday, 18 February 2015 at 14:07:01 UTC, Steven Schveighoffer wrote:
But once initialized, it DOES have reference semantics:

string[int] x;
x[0] = "zero";
auto y = x;
x[1] = "one";
assert(x == y);

Ok, great! I always initialize distMap with firstNd in the DijkstraWalk.this so that avoids the problem then.

Thanks alot!

Reply via email to