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

Method operator +

include/cpp/Variant.h:575–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573 }
574 template<typename T>
575 cpp::Variant Variant::operator + (const T &inRHS) const
576 {
577 if (isString() || ::cpp::isStringType(inRHS))
578 return asString() + String(inRHS);
579 return asDouble() + (double)inRHS;
580 }
581
582
583 #ifdef HXCPP_VISIT_ALLOCS

Callers

nothing calls this directly

Calls 2

isStringTypeFunction · 0.85
StringClass · 0.50

Tested by

no test coverage detected