pure virtual functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

pure virtual functions

"this function has no body...". did you guys read the standard? pure virtual functions can have an implementation.

27th Aug 2016, 7:18 PM
Ernst Maurer
Ernst Maurer - avatar
3 Answers
+ 1
As much as they can have a body, this app is much rather designed for bare beginners to learn the language. Besides, the chances that you would genuinely need a body for a pure virtual function is slim.
27th Aug 2016, 7:23 PM
Cohen Creber
Cohen Creber - avatar
+ 1
thank you for the reply. I see this from your perspective. but not agree. the guys who learn the language, especially from scratch should have correct understanding, which meets the standard. anyway the product (learning courses and mobile platform) is a perfect. many thanks :)
27th Aug 2016, 7:36 PM
Ernst Maurer
Ernst Maurer - avatar
0
Should change answer to be must have an implementation and remove the no body
17th Oct 2016, 8:03 AM
James Mitchell