Article View: be.comp.programming
Article #6709C++ &-operator vraagje.
From: Tom Mercelis
Date: Tue, 26 Nov 2002 22:05
Date: Tue, 26 Nov 2002 22:05
22 lines
1682 bytes
1682 bytes
hallo,
ik ben een boek aan het volgen om C++ te leren (C++ primer plus van
Stephen Prata), maar nu kom ik in de programming exercices een zeer
vreemd probleem tegen:
het gaat dus om een class declaration waarin deze lijn staat:
class Cow {
...
public:
Cow(const Cow c&);
...
}
De &-operator na het type (zoals Cow & c), heb ik al vaak gezien, maar
in die volgorde heb ik het nog nooit gezien, kan iemand mij zeggen of ik
iets gemist heb, of er sprake is van een drukfout in het boek?
mvg,
Tom Mercelis
--
May the Source be with you!
Technical Details
Message-ID:
<3DE3F02C.4020305@planetinternet.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!news-x2.support.nl!newsfeed.wxs.nl!news.wxs.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,73bec3cd11a3948e,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-11-26 14:06:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!news-x2.support.nl!newsfeed.wxs.nl!news.wxs.nl!not-for-mail From: Tom Mercelis <austinpowerzz_remove_this_@planetinternet.be> Newsgroups: be.comp.programming Subject: C++ &-operator vraagje. Date: Tue, 26 Nov 2002 23:05:32 +0100 Organization: Planet Technologies Lines: 23 Message-ID: <3DE3F02C.4020305@planetinternet.be> NNTP-Posting-Host: u212-239-168-221.adsl.pi.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: reader13.wxs.nl 1038348327 5209 212.239.168.221 (26 Nov 2002 22:05:27 GMT) X-Complaints-To: abuse@wxs.nl NNTP-Posting-Date: Tue, 26 Nov 2002 22:05:27 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: nl-be, nl, en-us