Created on 2023-02-23.00:00:00 last changed 22 months ago
Subclause 7.6.2.5 [expr.sizeof] paragraph 1 specifies:
The sizeof operator yields the number of bytes occupied by a non-potentially-overlapping object of the type of its operand. The operand is either an expression, which is an unevaluated operand (7.2.3 [expr.context]), or a parenthesized type-id. ...
Since an abstract class can be used only in a situation where it is a potentially-overlapping object, it is unclear what its size is.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-02-23 00:00:00 | admin | create |