--- In [email protected], "Saurabh Jain" <hundredr...@...> wrote:
> Gopi Krishna Komanduri <gopikomanduri@> wrote:
> > HI,
> >   One more query . I know that we can over loas const member
> > functions by removing const. ...
> > void main()
> //I am surprised no one nit-picked on void to int conversion.

There is no void to int conversion there.

> // Try to cast and see....
> ((const Base)(obj)).show(20);
> // Can anyone tell how to use <const_cast> here? If it can
> be used.

<http://tech.groups.yahoo.com/group/c-prog/message/70659>

-- 
Peter

Reply via email to