<br><div class="gmail_quote">On Sat, Jan 5, 2013 at 6:00 PM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">Just for the record, the extra parentheses are not needed:</div></div>
<br>
@doc("This function does.... ") auto foo () {  }<br>
@Sorted!(withThisFun) someRange ...</blockquote><div><br></div><div>Good to know. I tested it with basic values and this fails:</div><div><br></div><div>@"hello" int i;</div><div>@3 inj j;</div><div><br></div><div>
Worth a bug report?</div><div><br></div><div>As a complement, multiple @'s are possible:</div><div><br></div><div>@("hello") @(3) int j;</div><div><br></div><div><br></div><div>And another complement:</div><div>
<br></div><div>struct S {}</div><div><br></div><div>@S S s; is possible.</div><div> </div><div>But </div><div><br></div><div>@int S s; </div><div><br></div><div>is not</div><div><br></div><div>So user-defined types are OK, but not basic types. Looks like a parsing/grammar problem for me, since attribute tuple sure should be able to store built-in types.</div>
<div>Another bug report?</div><div><br></div><div><br></div></div>