Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::

Method `<<()


Method `<<

int `<<(int arg1, int arg2)
mixed `<<(object arg1, int|object arg2)
mixed `<<(int arg1, object arg2)

Description

Left shift operator.

If arg1 is an object that implements lfun::`<<() , that function will be called with arg2 as the single argument.

If arg2 is an object that implements lfun::``<<() , that function will be called with arg1 as the single argument.

Otherwise arg1 will be shifted arg2 bits left.

See also

`>>()