[computer-go] C++: copying arrays

Peter Drake drake at lclark.edu
Thu Aug 10 15:12:24 PDT 2006


I've got a class HashTable which contains one field:

		uint64_t data[CAPACITY];

If I have declared two such tables a and b, does

a = b;

copy the array, or do I have to overload the assignment operator =?

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20060810/afeb53c6/attachment.htm


More information about the computer-go mailing list