| 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 |
nothing calls this directly
no test coverage detected