A
AMT2K5
template <class TYPE>
struct HashEntry{
TYPE rec_;
const char* key() const{
//something
}
};
If I know that any datatype TYPE will always have a private member
"key", how can I return rec_'s key in the key() function?
struct HashEntry{
TYPE rec_;
const char* key() const{
//something
}
};
If I know that any datatype TYPE will always have a private member
"key", how can I return rec_'s key in the key() function?