<div class="gmail_quote">On Fri, Oct 7, 2011 at 11:09, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":4pn">Sorry, I could not conclude: so what signature to pass an object is<br>
best/cleanest/most optimal for my C++ code?</div></blockquote><div><br></div><div>Prefer Vec</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":4pn">
Or are they all fine, e.g.<br>
Vec would pass address by value, Vec& would pass address by reference,<br>
Vec* would pass the pointer, none of them copying the heavy data?</div></blockquote></div><br>