Skip to content

c8_integer_operator_ltlt

Dave Hudson edited this page May 1, 2017 · 2 revisions

c8::integer::operator <<

auto operator <<(unsigned int count) const -> integer

Shifts this number (left hand side of the operator) left by count (right hand side of the operator) bit positions, resulting in a new c8::integer number.

Return Value

A new integer equal to this number shifted left by count bit positions.

Exceptions

  • std::bad_alloc in the event of a memory allocation failure.

See Also

Clone this wiki locally