C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Concept about "complete type"

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
qinghu
Guest





PostPosted: Sat Feb 04, 2006 2:00 pm    Post subject: Concept about "complete type" Reply with quote



hi, when I read about the BOOST::scoped_pt. the document say we muse
supply a pointer of "complete type" for its constructor. I just can't
get it, what's eactly mean "complete type"? anyone can give more detail
info about it?


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Bob Hairgrove
Guest





PostPosted: Sat Feb 04, 2006 8:00 pm    Post subject: Re: Concept about "complete type" Reply with quote



On 4 Feb 2006 07:04:59 -0500, "qinghu" <qinghu.liao (AT) gmail (DOT) com> wrote:

Quote:
hi, when I read about the BOOST::scoped_pt. the document say we muse
supply a pointer of "complete type" for its constructor. I just can't
get it, what's eactly mean "complete type"? anyone can give more detail
info about it?

See section 9.2 paragraph 2 of the C++ standard.

--
Bob Hairgrove
NoSpamPlease (AT) Home (DOT) com

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Valentin Samko
Guest





PostPosted: Sat Feb 04, 2006 8:00 pm    Post subject: Re: Concept about "complete type" Reply with quote



qinghu wrote:
Quote:
hi, when I read about the BOOST::scoped_pt. the document say we muse
supply a pointer of "complete type" for its constructor. I just can't
get it, what's eactly mean "complete type"? anyone can give more detail
info about it?

Complete type is a class which was defined (and not just declared) or an array of a known
size of complete element type, see 3.9/6.

--

Valentin Samko - http://www.valentinsamko.com

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.