5 ms·
Unfortunately with this approach to inheritance PIMPL goes out the window, since the class structs are now all public to facilitate embedding... And despite th
by pengaru 5y ago
Unfortunately with this approach to inheritance PIMPL goes out the window, since the class structs are now all public to facilitate embedding...
And despite this public visibility of the object's struct members granted to provide inheritance, the examples are still using getters and setters.
Ok...
- deleted 5y ago[deleted]
- tadfisher 5y agoOnce you implement these design parameters, you've essentially written the GObject type system. Might as well use GObject at that point and get tons of language bindings for free. ("Free" after adding some metadata comments specifying parameter ownership/lifetimes, at least.)