Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 08, 2004 vector structs | ||||
---|---|---|---|---|
| ||||
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 Re: vector structs | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | 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 Re: vector structs | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | 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 Re: vector structs | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | 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/ |
Copyright © 1999-2021 by the D Language Foundation