On Sun, Aug 29, 2010 at 10:47 AM, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com" target="_blank">bearophileHUGS@lycos.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
SK:<br>
> What is the explanation?<br>
<br>
The syntax shown in TDPL can't be supported yet, because the DMD compiler doesn't yet allow it. It will be added. In the meantime you have to use the .field[] syntax, or the "secret" ._0 ._1 ecc syntax. But keep in mind that this second syntax will be removed once DMD allows to perfom an "alias this" over a TypeTuple, so if you use it a lot you will have to change lot of your code.<br>
<br>
Bye,<br>
<font color="#888888">bearophile<br>
<br>
</font></blockquote></div><br><br>Thank you, bearophile. For those interested, see the "Problems with receive" thread about this same bug in 2.048 concurrency.d.<br>