MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / operator ==

Function operator ==

include/Dynamic.h:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 bool operator!=(const null &inRHS) const { return mPtr!=0; }
143
144 bool operator == (const Dynamic &inRHS) const
145 {
146 // Comparing pointers fails in the case on Nan==Nan
147 //if (mPtr==inRHS.mPtr) return true;
148 if (!mPtr && !inRHS.mPtr) return true;
149 if (!mPtr || !inRHS.mPtr) return false;
150 return mPtr->__Compare(inRHS.mPtr)==0;
151 }
152
153 bool operator != (const Dynamic &inRHS) const
154 {

Callers

nothing calls this directly

Calls 2

DynamicFunction · 0.70
__CompareMethod · 0.45

Tested by

no test coverage detected