<br><div class="gmail_quote"><span dir="ltr">Cyrille;<br><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Very simple things like (algebraic) vectors, list of probabilities, etc. Of<br>

course I can always make classes that contain just a vector and duplicate<br>
every needed member functions and operators of float[], but that feels a bit<br>
silly .<br>
<br></blockquote><div><br>Wouldn&#39;t writing a Vector class, then creating a array of those come down to this?<br><br>Vector my-vectors[8];<br><br>Would do the trick, assuming you wrote the &quot;Vector&quot; class. That will get you everything that float[] has, I think, at least everything that &quot;float[]&quot; has that &quot;float&quot; lacks.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Moreover, unless there is some way of writing an implicit reference cast<br>
operator from foo to float[] (again, excuse this possibly trivial question, I<br>
am learning), I won&#39;t be able to use existing functions that take array<br>
references as parameters directly on foo (I will have to pass the member<br>
foo.content or trivially overload all of them).<br></blockquote><div><br>We don&#39;t have operator overloading right now. At least you can&#39;t overload them yourself; of course the ChucK operator is quite overloaded. I&#39;d still like to have overloading of the ChucK operator for classes we write ourselves (probably cast as well). Right now they can&#39;t be chucked to other objects to yield values or form connections, etc. This seems a bit unnatural to me; basically everything but the stuff we create can be chucked to things while -hopefully- the things we just created are very important to the domain we are reasoning about.<br>
<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes I am lazy :)<br>
<div><br></div></blockquote><div><br>A comendable property for a programmer, I hear :-). <br></div></div><br>Good questions.<br><br>Yours,<br>Kas.<br>