I got following code:
 class myarray 
 {  
    float* rawdata;
    float*   GetRawData () const noexcept { return rawdata; };
    float&   GetRawData () const noexcept { return rawdata; };
    const float&   GetRawData () const noexcept { return rawdata; };
 } 
I get compiler error saying it is not possible to overload the first two member functions. Is it not possible for C++ to distinguish since we in a reference would have a different syntax when invoking the function
 
     
    