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

Method operator -

include/cpp/Variant.h:185–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184 template<typename T>
185 inline cpp::Variant operator - (const T &inRHS) const
186 {
187 if (::cpp::isIntType(inRHS) && isInt() )
188 return asInt() - (int)inRHS;
189 return asDouble() - (double)inRHS;
190 }
191
192 template<typename T>
193 inline cpp::Variant operator * (const T &inRHS) const

Callers

nothing calls this directly

Calls 1

isIntTypeFunction · 0.85

Tested by

no test coverage detected