CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
BitpackDerived< B > Struct Template Reference

It is occasionally useful to derive one bitpack from another. More...

#include <bitpack.hh>

Inheritance diagram for BitpackDerived< B >:
Collaboration diagram for BitpackDerived< B >:

Protected Types

using ParentBitpack = B

Detailed Description

template<typename B>
requires std::derived_from<B, Bitpack<typename B::Storage>>
struct BitpackDerived< B >

It is occasionally useful to derive one bitpack from another.

Using BitpackDerived as the sole (non-empty) base class of an aggregate type reduces the syntactic clutter of deriving from the bitpack B.

See BITPACK_DERIVED_PREFIX and BITPACK_DERIVED_FIELD_INFO_FOR_TYPE.

Definition at line 912 of file bitpack.hh.

Member Typedef Documentation

◆ ParentBitpack

template<typename B>
using BitpackDerived< B >::ParentBitpack = B
protected

Definition at line 918 of file bitpack.hh.


The documentation for this struct was generated from the following file: