<div dir="ltr"><div dir="ltr">On Mon, Jun 10, 2019 at 1:56 PM Ryan Joseph <<a href="mailto:genericptr@gmail.com">genericptr@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I don’t think this is possible. Just did little test and the size of “result” is always the size of the base class. Does this work?<br></blockquote><div><br></div><div>Result in your example is the size of a <i>pointer</i> in all cases, which is fine / exactly what you'd expect it to be.</div></div></div>