You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct Foo {
byte foo1
}
struct Bar {
byte bar1
}
struct Foo_bar {
struct Foo
struct Bar
}
Produces the final struct:
struct Foo_bar {
byte foo1
byte bar1
}
While not a make or break feature, this allows some convenience in allowing composition without nesting, which is already represented by the memory structure.
The text was updated successfully, but these errors were encountered:
C11 supports struct extension, such that:
Produces the final struct:
While not a make or break feature, this allows some convenience in allowing composition without nesting, which is already represented by the memory structure.
The text was updated successfully, but these errors were encountered: