Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualParadigm Shifter

Posted 01 May 2013 - 01:57 PM

Welcome to the wonderful world of C++ ;)

 

First bullet point is obvious. 2nd involves whether you have defined conversion operators which are public in the class I believe (EDIT: or accessible in the context of the cast e.g. private conversion operators ok in the same class, etc.). 3rd one requires const_cast. Not sure about the virtual inheritance 4th case, I've never used virtual inheritance.


#1Paradigm Shifter

Posted 01 May 2013 - 01:48 PM

Welcome to the wonderful world of C++ ;)

 

First bullet point is obvious. 2nd involves whether you have defined conversion operators which are public in the class I believe. 3rd one requires const_cast. Not sure about the virtual inheritance 4th case, I've never used virtual inheritance.


PARTNERS