Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #9849
| From | "Default User" <defaultuserbr@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: dynamic_cast and generic pointer |
| Date | 2011-09-06 18:07 -0500 |
| Message-ID | <9cnneeFfoeU1@mid.individual.net> (permalink) |
| References | <3d7f54db-fcbe-4f00-92c4-8d63c38d8cab@glegroupsg2000goo.googlegroups.com> <j460vh$jro$1@dont-email.me> <629a494f-449f-488a-8ac0-dfd2bcf040bc@glegroupsg2000goo.googlegroups.com> |
"asit" <lipun4u@gmail.com> wrote in message news:629a494f-449f-488a-8ac0-dfd2bcf040bc@glegroupsg2000goo.googlegroups.com... > why it's not c++ code ? Restoring the context: > > B ob = new B; > ^^^^^^^^^^^^^ Cannot happen in C++ Because ob is not a pointer to B, which is required if you assign the result of new to it. Brian
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
dynamic_cast and generic pointer asit <lipun4u@gmail.com> - 2011-09-06 12:38 -0700
Re: dynamic_cast and generic pointer Victor Bazarov <v.bazarov@comcast.invalid> - 2011-09-06 16:48 -0400
Re: dynamic_cast and generic pointer asit <lipun4u@gmail.com> - 2011-09-06 14:23 -0700
Re: dynamic_cast and generic pointer Ian Collins <ian-news@hotmail.com> - 2011-09-07 10:09 +1200
Re: dynamic_cast and generic pointer "Default User" <defaultuserbr@yahoo.com> - 2011-09-06 18:07 -0500
Re: dynamic_cast and generic pointer Joe Greer <jgreer@doubletake.com> - 2011-09-08 14:45 +0000
Re: dynamic_cast and generic pointer Asger-P <junk@asger-p.dk> - 2011-09-07 01:08 +0200
Re: dynamic_cast and generic pointer Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-07 00:02 -0500
Re: dynamic_cast and generic pointer Juha Nieminen <nospam@thanks.invalid> - 2011-09-07 06:22 +0000
Re: dynamic_cast and generic pointer Goran <goran.pusic@gmail.com> - 2011-09-07 04:16 -0700
Re: dynamic_cast and generic pointer BGB <cr88192@hotmail.com> - 2011-09-08 23:17 -0700
csiph-web