Rikki Cattermole: > Foo*[string] bar; > Foo v = *bar.grab("mykey"); Is this the setdefault of Python dicts? If this need is strong a new function could be added to Phobos (or even druntime if you want to reduce the number of hash computations). Bye, bearophile