-
Notifications
You must be signed in to change notification settings - Fork 0
c8_integer_operator_gtgt
Dave Hudson edited this page May 2, 2017
·
2 revisions
auto operator >>(unsigned int count) const -> integer;
Shifts this number (left hand side of the operator) right by count
(right hand side of the operator) bit positions, resulting in a new c8::natural
number. If the value of count
is larger than the number of bits used to hold the original number then the result will be zero.
A new integer equal to this number shifted right by count
bit positions.
-
std::bad_alloc
in the event of a memory allocation failure.