Closed pr8x closed 11 months ago
Not defining or marking a virtual function pure virtual (=0) is actually UB in C++:
=0
C++03 Standard: 10.3 Virtual functions [class.virtual] A virtual function declared in a class shall be defined, or declared pure (10.4) in that class, or both; but no diagnostic is required (3.2).
C++03 Standard: 10.3 Virtual functions [class.virtual]
A virtual function declared in a class shall be defined, or declared pure (10.4) in that class, or both; but no diagnostic is required (3.2).
This was actually causing obscure linker issues in debug mode (see here)
Not defining or marking a virtual function pure virtual (
=0
) is actually UB in C++:This was actually causing obscure linker issues in debug mode (see here)