I write a function which should extract from `unsigned int` deferrent sets of bits.
I want to use a masks for that.I am not sure what is the best way to define such masks.
For example I need to extract bits 6:14.So I need to define a mask as `111111111 << 6`.
My problem is I can't use boost or something like this and standard c/c++ doesn't know to work with binary numbers.
What is possible to do is to use 111111111 as 2^10-1.I am not sure - this is the best (most elegant ) solution.Any advices?