What const declaration mean when used with virtual function in C++?

57 views Asked by At

How to read the below line in C++?

virtual Real NPV() const =0;

I understand that it is a virtual function, and the return type of the function is Real (what is Real?). But what does const=0 in the same line refer to?

image

0

There are 0 answers