View post

dynamic_cast<CppProgrammer *>(maia);

Posted by lucidfox.org at

Only Stroustrup could design an operator that signals failure by returning a special value in one case and throwing an exception in another.

Comments

You must be logged in with OpenID to post comments.