Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #8377
| From | Qi <no@no.no> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Is it correct? Two same named classes in different unnamed namespace get same typeid |
| Date | 2011-08-01 16:59 +0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <j15ptr$522$1@speranza.aioe.org> (permalink) |
| References | <j13i7d$reu$1@speranza.aioe.org> <4e366586$0$3068$7b1e8fa0@news.nbl.fi> |
On 2011-8-1 16:36, Juha Nieminen wrote: > > Explain what? > > Since the dawn of usenet one of the core rules of proper posting is > that you don't post your question in the subject line and then just > allude to it in the body of the post. The actual contents of the post > should be understandable without the subject line. The subject line is > like a title, not the actual content. The post should be fully > understandable even without the subject line. I would appreciate if you can scroll down your usenet client to read my whole post. ======begin quote my post====== Question: Is it standard behavior, or undefined behavior, or a bug in GCC? A further question: ...more... ======end quote my post====== And with below paragraph ===== Tested in GCC 4.4.0 and 4.5.2, calling getA and getB, the result is exactly same (== will return true). So seems the RTTI for two TestClass are same. ===== Do you still not understand my question without the subject line? -- WQ
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is it correct? Two same named classes in different unnamed namespace get same typeid Qi <no@no.com> - 2011-07-31 20:32 +0800
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid Juha Nieminen <nospam@thanks.invalid> - 2011-08-01 08:36 +0000
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid Qi <no@no.no> - 2011-08-01 16:59 +0800
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid Tom <tettigonia@googlemail.com> - 2011-08-04 13:19 -0700
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid Qi <no@no.no> - 2011-08-05 10:07 +0800
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid LR <lruss@superlink.net> - 2011-08-05 05:16 -0400
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid James Kanze <james.kanze@gmail.com> - 2011-08-07 10:44 -0700
Re: Is it correct? Two same named classes in different unnamed namespace get same typeid LR <lruss@superlink.net> - 2011-08-07 17:18 -0400
csiph-web