YAPOG  0.0.1
Yet Another Pokemon Online Game
IComparator.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_ICOMPARATOR_HPP
2 # define YAPOG_ICOMPARATOR_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 
6 namespace yap
7 {
8  template <typename T>
9  struct IComparator
10  {
11  virtual ~IComparator () { }
12 
13  virtual int Compare (const T& left, const T& right) const = 0;
14  };
15 } // namespace yap
16 
17 #endif // YAPOG_ICOMPARATOR_HPP