C++ Logo

std-proposals

Advanced search

Rotate Bits Left or Right

From: Kjetil Kristoffer Solberg <post_at_[hidden]>
Date: Sun, 26 Jan 2020 09:03:29 +0100
Hi!

 

Shouldn't there be a rotate bits left and rotate bits right operator? The
way I have seen rotate done

is pretty ugly. There are instructions in x86 and other instructions sets
for rotation. Why not have it in the C++ standard?

 

NB! I have not checked if this question have been asked a million times
before.

 

Regards

Kjetil

 


Received on 2020-01-26 02:06:11