Lines Matching refs:BitStructField
79 // BitStructField can be used with custom standard-layout structs,
111 struct BitStructField {
125 BitStructField& operator=(T value) {
133 BitStructField& operator=(const BitStructField& other) {
138 BitStructField(const BitStructField& other) {
142 BitStructField() = default;
143 ~BitStructField() = default;
151 static_assert(std::is_base_of<BitStructField, T2>::value, "T2 must inherit BitStructField");
206 struct BitStructNumber : public BitStructField<T, kBitOffset, kBitWidth, /*StorageType*/T> {
240 using BaseType = BitStructField<T, kBitOffset, kBitWidth, /*StorageType*/T>;
298 // Used by BitStructField to determine how small a custom type is.