Timeline for How to create uniform interface of C++ classes without virtual methods?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 28, 2021 at 18:03 | comment | added | davidbak | But what is at the other end of the pimpl-pointer? If it is not polymorphic itself (i.e., based on virtual methods) how is this to work? And if it is polymorphic then it is more expensive than not using it (extra indirection). (Most often, when it is used, the other end of the pimpl-pointer is not polymorphic ...) | |
| Feb 28, 2021 at 17:52 | history | answered | Joao Reis | CC BY-SA 4.0 |