Can a reference type be used as the key type in an STL map

Viewed 4594

Can I construct an std::map where the key type is a reference type, e.g. Foo & and if not, why not?

4 Answers
Related