HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xilun0
on Aug 14, 2011
|
parent
|
context
|
favorite
| on:
C++ 11 Approved
(little nitpicking note : there are cases where it can be useful to have a virtual descriptor as the only virtual method of a class)
copper
on Aug 14, 2011
[–]
I'm interested in knowing what these are - barring an alignment-related weirdness, I can't think of any reason to do that.
xilun0
on Aug 18, 2011
|
parent
[–]
If you do everything in the constructor and the destructor, and in the meantime store a generic instance (or maybe a list of generic instances) somewhere.
This can be a quite rare situation, though. But not impossible.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: