/src/comps/uvm_policies.svh">uvm_class_comp #(T)</a></h2><div class=CBody><p>This policy class is used to compare two objects of the same type.</p><p>Provides a comp method that compares two objects of type T.&nbsp; The class T must provide the method &ldquo;function bit compare(T rhs)&rdquo;, similar to the <a href="../base/uvm_object-svh.html#uvm_object.compare" class=LMethod id=link11 onMouseOver="ShowTip(event, 'tt7', 'link11')" onMouseOut="HideTip('tt7')">uvm_object::compare</a> method.</p>

<!--START_