Skip to content

c8_natural_operator_ltlt

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

c8::natural::operator <<

auto operator <<(unsigned int count) const -> natural;

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::natural number.

Return Value

A new natural number 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