www.digitalmars.com         C & C++   DMDScript  

D - vector structs

reply imr1984 <imr1984_member pathlink.com> writes:
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).
Feb 08 2004
parent reply J Anderson <REMOVEanderson badmama.com.au> writes:
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).


  

older openD page version. -- -Anderson: http://badmama.com.au/~anderson/
Feb 08 2004
parent reply J Anderson <REMOVEanderson badmama.com.au> writes:
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).


  

older openD page version.

there. -- -Anderson: http://badmama.com.au/~anderson/
Feb 08 2004
parent imr1984 <imr1984_member pathlink.com> writes:
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).


  

older openD page version.

there. -- -Anderson: http://badmama.com.au/~anderson/

Feb 08 2004