Does anybody know an efficient way to get/create-if-missing an lvalue AA entry.
I commonly resort to this, but it uses three lookups.

auto p = key in aa;
if (p is null)
{
    aa[key] = inital;
    p = key in aa;
}
//...

Reply via email to