Compiletime check for bit-positions in bit-field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

does anybody see a possibility to perform a compiletime-check to verify
that a bit of a bit-field is at an exact position of the underlying type?

I would see a possible using the forecoming std::bit_cast, but what can
one do with c++17?

Thanks for help,
 Wilhelm



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux