So in C++ There's a lot of times where you need to make an "index" class. For example:
class GameID{
   public:
      string name;
      int regionid;
      int gameid;
      bool operator<(const GameID& rhs) const;
}
Now, if we were to represent GameID as pair<string, pair<int, int> >, the operator comparison just comes with it. Is there any other way to get that automatic operator comparison without having to use std::pair<> ?


