コード例 #1
0
ファイル: type_id.hpp プロジェクト: AbdelghaniDr/ctti
 friend constexpr bool operator==(const type_id_t& lhs, const type_id_t& rhs)
 {
     return lhs.hash() == rhs.hash();
 }
コード例 #2
0
ファイル: type_id.hpp プロジェクト: kkitsune/GoblinEngine
 constexpr unnamed_type_id_t(const type_id_t& id) :
     _hash{id.hash()}
 {}