Method lfun::`+()


Method `+

mixed `+(zero arg)

Description

Left side addition/concatenation callback.

This is used by `+. It's called with the argument that follow this object in the argument list of the call to `+. The returned value should be a new instance that represents the addition/concatenation between this object and the argument.

Note

It's assumed that this function is side-effect free.

Note

In versions of Pike prior to 8.1.10 this function could get called with multiple arguments.

See also

lfun::``+(), lfun::`+=(), `+()