Thread overview
vector structs
Feb 08, 2004
imr1984
Feb 08, 2004
J Anderson
Feb 08, 2004
J Anderson
Feb 08, 2004
imr1984
February 08, 2004
has anyone here coded a vector struct in D? I did and I want to see how others did it, because D has some restrictions compared with C++ - for example you cant give the struct an overloaded value operator (i hope that makes sense).


February 08, 2004
imr1984 wrote:

>has anyone here coded a vector struct in D? I did and I want to see how others
>did it, because D has some restrictions compared with C++ - for example you cant
>give the struct an overloaded value operator (i hope that makes sense).
>
>
>  
>
See the math.d file in dig.  Note that the op part is missing in the older openD page version.

-- 
-Anderson: http://badmama.com.au/~anderson/
February 08, 2004
J Anderson wrote:

> imr1984 wrote:
>
>> has anyone here coded a vector struct in D? I did and I want to see how others
>> did it, because D has some restrictions compared with C++ - for example you cant
>> give the struct an overloaded value operator (i hope that makes sense).
>>
>>
>>  
>>
> See the math.d file in dig.  Note that the op part is missing in the older openD page version.
>
Just realized that you might be talking about std::vector.  I can't help there.

-- 
-Anderson: http://badmama.com.au/~anderson/
February 08, 2004
nah a 3d vector is what i wanted. thanks a lot J :)

In article <c05llg$1b56$1@digitaldaemon.com>, J Anderson says...
>
>J Anderson wrote:
>
>> imr1984 wrote:
>>
>>> has anyone here coded a vector struct in D? I did and I want to see
>>> how others
>>> did it, because D has some restrictions compared with C++ - for
>>> example you cant
>>> give the struct an overloaded value operator (i hope that makes sense).
>>>
>>>
>>> 
>>>
>> See the math.d file in dig.  Note that the op part is missing in the older openD page version.
>>
>Just realized that you might be talking about std::vector.  I can't help there.
>
>-- 
>-Anderson: http://badmama.com.au/~anderson/