Examining standard library classes pairs and tuples