| 1344 | }; |
| 1345 | |
| 1346 | struct MinimalStructHeader { |
| 1347 | TypeIdentifier base_type; |
| 1348 | MinimalTypeDetail detail; |
| 1349 | |
| 1350 | MinimalStructHeader() {} |
| 1351 | |
| 1352 | MinimalStructHeader(const TypeIdentifier& a_base_type, |
| 1353 | const MinimalTypeDetail& a_detail) |
| 1354 | : base_type(a_base_type) |
| 1355 | , detail(a_detail) |
| 1356 | {} |
| 1357 | |
| 1358 | bool operator==(const MinimalStructHeader& other) const |
| 1359 | { |
| 1360 | return base_type == other.base_type && detail == other.detail; |
| 1361 | } |
| 1362 | |
| 1363 | bool operator!=(const MinimalStructHeader& other) const |
| 1364 | { |
| 1365 | return !(*this == other); |
| 1366 | } |
| 1367 | }; |
| 1368 | |
| 1369 | struct CompleteStructType { |
| 1370 | StructTypeFlag struct_flags; |