Article View: gnu.gcc.help
Article #941Re: Classes in multiple files
From: mike burrell
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
15 lines
1772 bytes
1772 bytes
In gnu.gcc.help Roeland Huys <roeland.huys@chello.be> wrote:
> Some basic rules:
> 1- The class declarations must become in a header file or more header
> files. It is forbidden to put definitions in the header
> No function body's, no global variable declarations, ...
this makes it impossible to have inline functions used by more than one .cc
file i believe. so i'd like to think of it as more of a 'guideline' than a
'rule'.
--
/"\ m i k e b u r r e l l
\ / ASCII RIBBON CAMPAIGN mikpos@home.com
X AGAINST HTML MAIL http://mikpos.dyndns.org
/ \
Technical Details
Message-ID:
<Scuf4.25266$G55.343720@news1.rdc1.ab.home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38712C84.AFD15365@altern.org> <387391B3.12471AC5@cfa.harvard.edu> <387E4D0F.145DA0CF@chello.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e4d48c4967f0bc5
X-Google-Attributes: gid11318c,public
X-Google-Thread: 100a19,e4d48c4967f0bc5
X-Google-Attributes: gid100a19,public
X-Google-Thread: faa64,e4d48c4967f0bc5
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10ba33,e4d48c4967f0bc5
X-Google-Attributes: gid10ba33,public
From: mike burrell <mikpos@home.com>
Subject: Re: Classes in multiple files
Date: 2000/01/14
Message-ID: <Scuf4.25266$G55.343720@news1.rdc1.ab.home.com>
X-Deja-AN: 572353603
Sender: mike burrell <mikpos@pillo.dyndns.org>
References: <38712C84.AFD15365@altern.org> <387391B3.12471AC5@cfa.harvard.edu> <387E4D0F.145DA0CF@chello.be>
Followup-To: gnu.gcc.help
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 947810226 24.64.73.154 (Thu, 13 Jan 2000 16:37:06 PST)
Organization: @Home Network Canada
User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (Linux/2.2.14 (i586))
NNTP-Posting-Date: Thu, 13 Jan 2000 16:37:06 PST
Newsgroups: gnu.gcc.help,gnu.g++.help,alt.os.linux,be.comp.os.linux