Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Partially c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 9499 of 9775
Post > Topic >>

Re: Partially complete types

by Vidar Hasfjord <vattilah-groups@[EMAIL PROTECTED] > Apr 16, 2008 at 03:58 AM

On Apr 15, 4:23 am, "Alf P. Steinbach" <al...@[EMAIL PROTECTED]
> wrote:
> Are you sure you really want to hand out pointers, and raw pointers at
that?

The code examples are just for exposition. I avoided smart pointers in
the examples to keep it simple; also there are some dangerous
implications of using smart pointers with incomplete types (ref.
deleting an incomplete type). Since the post was about incomplete
types I tried to stay on safe ground.

> Why not then use IParameter?

See Greg's post and my follow-up.

Regards,
Vidar Hasfjord


-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 6 Posts in Topic:
Partially complete types
Vidar Hasfjord <vattil  2008-04-14 12:51:07 
Re: Partially complete types
"Alf P. Steinbach&qu  2008-04-14 21:23:05 
Re: Partially complete types
Greg Herlihy <greghe@[  2008-04-14 21:26:22 
Re: Partially complete types
Marcin Swiderski <sfid  2008-04-15 23:21:48 
Re: Partially complete types
Vidar Hasfjord <vattil  2008-04-16 03:57:21 
Re: Partially complete types
Vidar Hasfjord <vattil  2008-04-16 03:58:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Jul 8 23:53:08 CDT 2008.