コード例 #1
0
ファイル: frame.cpp プロジェクト: alessandrostone/metashell
 bool operator==(const frame& a_, const frame& b_)
 {
   return a_.type() == b_.type() && a_.is_full() == b_.is_full() &&
          (!a_.is_full() ||
           (a_.kind() == b_.kind() &&
            a_.point_of_instantiation() == b_.point_of_instantiation())) &&
          a_.is_profiled() == b_.is_profiled() &&
          (!a_.is_profiled() ||
           (a_.time_taken() == b_.time_taken() &&
            a_.time_taken_ratio() == b_.time_taken_ratio()));
 }