KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If you have declared a struct: struct EmptyResult { } What is the result of creating a variable of type EmptyResult in an instance? public Foo() { EmptyResult result; } Would you expect an allocation on the stack, or is it effectively a no-op?
Tags (comma-separated)
Save Edits
Cancel