コード例 #1
0
inline bool 
operator<(const basic_serializer & lhs, const basic_serializer & rhs)  {
    // can't compare address since there can be multiple eti records
    // for the same type in different execution modules (that is, DLLS)
    // leave this here as a reminder not to do this!
    // return & lhs.get_eti() < & rhs.get_eti();
    return lhs.get_eti() < rhs.get_eti();
}
コード例 #2
0
ファイル: basic_serializer.hpp プロジェクト: rzymek/cxxsp
 bool operator<(const basic_serializer & rhs) const {
     return m_eti < rhs.get_eti();
 }
コード例 #3
0
inline bool 
operator<(const basic_serializer & lhs, const basic_serializer & rhs)  {
  return & lhs.get_eti() < & rhs.get_eti();
}