On Tuesday, 30 July 2013 at 13:28:40 UTC, Dicebot wrote:
On Sunday, 28 July 2013 at 06:20:29 UTC, Vladimir Panteleev wrote:
Not really an article or anything - this was planned as just a post to this newsgroup, but I decided to put it somewhere suitable for larger blocks of text with formatting:

http://blog.thecybershadow.net/2013/07/28/low-overhead-components/

On topic of proposals: what to you think about embedding context pointer into struct when such alias is used? That will require some enforcement from compiler if template instance will be actually used as member field in same struct but avoid template bloat and fits with existing behavior of nested aggregates.

While not a bad proposal in itself, it's not very interesting in terms of performance. If we are to do pointers, then pointers to the lower layer aren't much harder to do by hand and save you the ECX (this pointer) adjustment when calling the lower layer's methods.

Reply via email to