<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 9, 2018, at 4:57 PM, Richard Smith &lt;<a href="mailto:richardsmith@googlers.com" class="">richardsmith@googlers.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: BookmanOldStyle; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, 9 Feb 2018 at 13:08, Myria &lt;<a href="mailto:myriachan@gmail.com" class="">myriachan@gmail.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">Is it worth mentioning that an implementation may have other<br class="">mechanisms that create storage in the manner of malloc?&nbsp; For example,<br class="">it'd make sense for VirtualAlloc or mmap to create implicit objects<br class="">just like the standard malloc functions.<br class=""></blockquote><div class=""><br class=""></div><div class="">Sounds like a good change to me.</div><div class="">&nbsp;</div></div></div></div></blockquote><br class=""></div><div>It would be nice if we could indicate that in a portable way. &nbsp;The default is wrong for attributes, unfortunately, but otherwise something like:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>[[blessed_storage]] void* my_memory_map(…);</div><div><br class=""></div><div>would have been useful.</div><div class=""><br class=""></div><div class="">Incidentally, I’m not too fond of the name “bless”. &nbsp;Maybe “implicit_lifetime”?</div><br class=""><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Daveed</div><div class=""><br class=""></div></body></html>