Re:The Case Against OOP Is Wildly Overstated
by thebruce87m on Saturday August 01, 2020 @08:25AM
(#24019943)
Isn’t this the way C++ operates under the hood, with the “this” pointer hidden?
I love opaque structures, but the one downside in embedded is they can’t be truly opaque since you want to avoid dynamic memory allocation - and therefore the place you instantiate the struct needs to know the size, and therefore members of the struct.
I love opaque structures, but the one downside in embedded is they can’t be truly opaque since you want to avoid dynamic memory allocation - and therefore the place you instantiate the struct needs to know the size, and therefore members of the struct.