specman - Does E language support multiple inheritance? -
i build new struct inherits other multiple structs, that:
struct new_struct struct_a, struct_b, struct_c { // new_struct supposed have fields of struct a/b/c };
is there way inherit multiple structs in e?
thank help
no, there no multiple inheritance in e. however, not long ago interfaces added, closest thing.
what purpose? in cases 'struct_member' macro or when subtype can job expected multiple inheritance.
Comments
Post a Comment