std::hash should be implemented for more of the standard library

Clause / Subclause / Annex: 
20.6.17
Para/Table/Figure: 
1
Comment type: 
Te
Comment / justification for change: 

std::hash should be implemented for much more of the standard library. In particular for pair, tuple and all the standard containers.

Recommended change: 

.

MB: 
UK

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I’d certainly welcome the

I’d certainly welcome the library providing some assistance with building composite hashes – eg struct S { int x, y; }. How do we combine the hash for x and y?