 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
qinghu Guest
|
Posted: Sat Feb 04, 2006 2:00 pm Post subject: Concept about "complete type" |
|
|
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
|
Posted: Sat Feb 04, 2006 8:00 pm Post subject: Re: Concept about "complete type" |
|
|
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
|
Posted: Sat Feb 04, 2006 8:00 pm Post subject: Re: Concept about "complete type" |
|
|
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 |
|
 |
|
|
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
|
|