home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!spool.mu.edu!uwm.edu!rpi!usc!elroy.jpl.nasa.gov!jato!csi!mwette
- From: mwette@csi.jpl.nasa.gov (Matt Wette)
- Subject: why `int X: :X()' ?
- Message-ID: <1992Dec30.172537.12477@csi.jpl.nasa.gov>
- Originator: mwette@mr-ed
- Sender: usenet@csi.jpl.nasa.gov (Network Noise Transfer Service)
- Nntp-Posting-Host: mr-ed
- Organization: Jet Propulsion Laboratory
- Date: Wed, 30 Dec 1992 17:25:37 GMT
- Lines: 12
-
-
- I'm starting to really get into some C++ programming and was wondering
- about the following:
-
- Why are constructor and destructor functions usually declared to return
- ints when the usage typically warrents a `void' declaration.
-
- Is this a requirement or just a convention?
-
- Matt
- --
- mwette@csi.jpl.nasa.gov
-