int main() { MyClass foo (10); const MyClass bar (20); foo.get() = 16; cout << foo.get() << endl; cout << bar.get() << endl; return 0; }
friend std::size_t hash_value(const MyClass &o) { return boost::hash<int>()(o.get()); }
void print (const MyClass& arg) { cout << arg.get() << endl; }