Multidimensional AA question
André via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Nov 28 10:49:01 PST 2015
On Friday, 27 November 2015 at 08:53:18 UTC, Jack Applegame wrote:
> On Thursday, 26 November 2015 at 17:27:34 UTC, André wrote:
>> My question now is: is there some more elegant solution to
>> achieve this? Something like in C++ when you have std::map's
>> of std::map's and just access the elements and the entry is
>> created implicitly?
> No. But you can create a wrapper:
> http://dpaste.dzfl.pl/80ad84e8f010
Thank you very much! That's a nice piece of code. I was looking
for something like that in the standard library - to me it seems
like something others might need regularly too.
Regards,
André
More information about the Digitalmars-d-learn
mailing list