All Questions
Tagged with d object-oriented
1
question
-3
votes
2answers
295 views
How do you hash 4 doubles into a size_t?
I have bounding boxes the key type.
Box {
double mins[2];
double maxs[2];
}
And I want to have Box as the key type in the D programming language, so I have to implement:
size_t toHash() const @...