On 03/19/2012 04:40 AM, H. S. Teoh wrote:
OK, perhaps the previous subject line of the previous post deterred
people from actually reading the contents. :-(
Basically, I'm trying to address Andrei's request that this should work
with my AA implementation:
int[dstring] aa;
aa["ab
On 19 March 2012 16:40, H. S. Teoh wrote:
> OK, perhaps the previous subject line of the previous post deterred
> people from actually reading the contents. :-(
>
> Basically, I'm trying to address Andrei's request that this should work
> with my AA implementation:
>
> int[dstring] aa;
>
OK, perhaps the previous subject line of the previous post deterred
people from actually reading the contents. :-(
Basically, I'm trying to address Andrei's request that this should work
with my AA implementation:
int[dstring] aa;
aa["abc"] = 1; // "abc" implicitly deduced as dst
On Wed, Mar 14, 2012 at 02:07:04PM -0500, Andrei Alexandrescu wrote:
[...]
> Aha! This is one of those cases in which built-in magic smells of
> putrid beef soup.
[...]
It gets worse than we first thought:
void f1(dstring x) { dstring y = x; }
void f2()(dstring x) { dstring y = x