In article <01bbd23a$5b667cc0$LocalHost@christophe-leph>, Vos nom et pr�nom wrote: >Just a question about it (I just posted a new thread about this) : when a >member function is better as non virtual ? Suppose a function does some important manipulation of private data members. If it were virtual, then an heir class could override this function without ever calling it, and the data manipulation would never happen. This could leave the object in an invalid state. In C++, the only way to prevent this is by NOT declaring the function virtual. In Eiffel, I presume, this could be prevented using postconditions? -- -- Patrick Doyle doylep@ecf.utoronto.ca