ufcpp / BitFields

MIT License
20 stars 2 forks source link

BitX.Value should not be public #7

Open fanoI opened 7 years ago

fanoI commented 7 years ago

To make BitX more as number Value should not be public but private / internal, any conversion should happen with cast operations.

ufcpp commented 7 years ago

It's by design. I'd like to avoid overhead.

Instead, I have a plan to another version of BitX implementation:

fanoI commented 7 years ago

The idea is that you choose on generation what one generate?

ufcpp commented 7 years ago

I want: image