On Fri, Mar 11, 2022 at 8:50 PM Marek Vasut <marex@xxxxxxx> wrote: > > Add compile-time static_assert wrapper to verify that shifted realbits > fit into storagebits. The macro is implemented in a more generic way so > it can be used to verify other values if required. Thanks! I think we may leave it to maintainers to decide if it is worth adding or not. -- With Best Regards, Andy Shevchenko