< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi all, Enclosed is a test program for a form of dynamic cast. Could someone let me know if it works on WinCE (and maybe other platforms where dynamic_cast is a known or suspected issue)? If it works, I'll dress it up with some macros and incorporate it into the stack. thanks, david Quoting Cullen Jennings <fluffy@xxxxxxxxx>: > > Sure that sounds good. > > On 12/5/04 1:11 PM, "david Butcher" <david@xxxxxxxxxxxxxx> wrote: > > > I would rather see resip::DynamicCast<U>(T) if we could. > > Will still need the getType() interface you propose, of course. > > > > david > > > > > > Quoting Cullen Jennings <fluffy@xxxxxxxxx>: > > > >> > >> We only use dynamic casts on a few different classes in the stack. I was > >> just going to add a virtual function called something like "getType" to > each > >> of these classes then go and replace the dynamic cases with calls to the > >> getType function followed by static casts if the type was correct. > >> > >> > >> On 12/5/04 7:07 AM, "�� ����" <yaotangbb@xxxxxxxxxxx> wrote: > >> > >>> Thank you for your answers very muach. > >>> > >>> My first big problem with pocketpc 2003 is iostream. Embedded vc does > not > >>> support it. But i have replaced iostream and solved this problem with > >>> string, > >>> I thought I have almost been crowned with success , but had not thought > of > >>> meeting this difficult problem that embedded product development was > often > >>> met(Datatype Misalignment). > >>> > >>> Can you tell me the detail of solve this problem? > >>> > >>> Thanks & Best Regards! > >>> > >>> _________________________________________________________________ > >>> �ë�ª»úµ��ó��½ø��½»�÷£¬�ë�¹�� MSN Messenger: > http://messenger.msn.com/cn > >>> > >> > >> > >> _______________________________________________ > >> resiprocate-devel mailing list > >> resiprocate-devel@xxxxxxxxxxxxxxxxxxx > >> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel > >> > > > > > > >
Attachment:
testDynamicCast.cxx
Description: Binary data