<div class="gmail_quote">On 6 April 2012 16:56, Steven Schveighoffer <span dir="ltr"><<a href="mailto:schveiguy@yahoo.com">schveiguy@yahoo.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="im">On Fri, 06 Apr 2012 09:53:59 -0400, Timon Gehr <<a href="mailto:timon.gehr@gmx.ch" target="_blank">timon.gehr@gmx.ch</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think this proposal should be merged with Johannes' one.<br>
</blockquote>
<br></div>
It is very similar. I think the main distinction is that I focused on the fact that the compiler already has a mechanism to check and run CTFE functions.<br></blockquote><div><br></div><div>Except you're using a function, which I don't follow. How does that work? Where do you actually store the attribute data?</div>
<div>Just attaching any arbitrary thing, in particular, a struct (as in Johannes proposal) is far more useful. It also seems much simpler conceptually to me. It's nice when things are intuitive...</div></div>