dynamic_cast<CppProgrammer *>(maia);
Posted by lucidfox.org
at 14:32, 29 June 2010 (UTC)
Only Stroustrup could design an operator that signals failure by returning a special value in one case and throwing an exception in another.