|
From: Irek Szczesniak on 1 Feb 2008 02:13 Hi, I know that typeid(*this).name() is not portable. Therefore I resorted to implementing my own virtual function that returns the name of the class. Nonetheless, is there any portable way so that I don't need to keep implementing this function for new classes? Thanks & best, Irek -- Ireneusz (Irek) Szczesniak http://www.irkos.org [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
|
Pages: 1 Prev: Bug in g++ ostringstream implementation ??? Next: BoostCon 2008 Call for Sessions |