I want to implement hash map, So I want to write a class which will accept object of any class and based on the object size it will return the result.
example:
class A
{
public:
int a;
};
class B
{
char b;
};
my hash map class
??
I want to implement hash map, So I want to write a class which will accept object of any class and based on the object size it will return the result.
example:
class A
{
public:
int a;
};
class B
{
char b;
};
my hash map class
??