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
We can call this "inline". An inline class should act as a struct with same fields.
For example:
classA{inta;}classB{intb;inlineA aa;}/* The compiler should translate code above to code below */classA{inta;}classB{intb;struct{inta;}aa;//pseudo-code of C style, just to show my idea. }
The text was updated successfully, but these errors were encountered:
create class and struct with same data and implement their methods via generic by ref extensions (#186) if they were also available on classes (readonly by ref extensions?)
We can call this "inline". An inline class should act as a struct with same fields.
For example:
The text was updated successfully, but these errors were encountered: