changing behavior of derived class function with minimal or no effects to others
<p>I am currently having an issue with using a function defined as a const in the base class.</p>

<p>I am  implementing a derived class using the above virtual function but with a non const return value. I would like to implement this without changing the base class as there are other outside classes that use this virtual function. The reason for not changing this virtual function is that there exists other derived classes that use the same function.</p>

<p>Any help greatly appreciated. </p>

<p>For example: 
I am working on a implementing a derived class function <code>double DerivedClass1::Function()</code> with varying return values which is a virtual function defined in <code>double BaseClass::Function() const</code>. This same function is used by <code>double DerivedClass2::function() const</code> and <code>double DerivedClass3::Function() const</code> for which I have no control over. How do I do this without any or minimal changes to the base class. </p>
