3 ms·
This is interesting. The page you linked mentions that objects can be created using operator new, but I was not aware that C has such thing. Further down polymo
by oriolid 4y ago
This is interesting. The page you linked mentions that objects can be created using operator new, but I was not aware that C has such thing. Further down polymorphic objects are introduced, and I am fairly sure C does not have those. My favorite detail is mention of "implicitly defined copy/move special member functions", but it is never explained what member functions are. Almost as if you were using a definition that is missing something to prove some kind of point.
By the way, the document you linked to is not the standard. The published standards are not freely available, but here is the relevant part of current draft: https://eel.is/c++draft/intro.object https://eel.is/c++draft/intro.object