<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Feb 16, 2015, at 9:31 AM, AlexDenisov <<a href="mailto:1101.debian@gmail.com" class="">1101.debian@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">Don’t want to push or force you, just curious: how is it going? :)</div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">How much time it usually takes to review such patches?</div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><br class=""></div><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">P.S. I have got commit access few days ago, just fyi</div></div></blockquote><div><br class=""></div>Hi, Alex.  Sorry for the long delay.</div><div><br class=""></div><div>The consensus of the internal language-review team is that we think this is a great idea, but that it should be more generally opt-in rather than being tied to hard-coded types.  There are two dimensions of this.</div><div><br class=""></div><div>The first is that you should add an attribute, __attribute__((objc_boxable)), that goes on struct declarations.  The @(…) syntax should only allow a struct operand if it has this attribute.  Make sure you test the __has_attribute for this.  You should also make sure that redeclarations after the definition can add this attribute and have it still be respected by the type-checker; this will be extremely useful for people migrating code to SDKs that lack these attributes.</div><div><br class=""></div><div>The second is that the implicit code pattern shouldn’t try to use the convenience factory methods; just use +[NSValue valueWithBytes:objCType:].</div><div><br class=""></div><div>John.</div></body></html>