🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12379

Re: ���ڴ�ֵ���Ǵ����õĽ�һ������

#12379
From: Java
Date: Fri, 30 Jul 2004 12:19
24 lines
1449 bytes
��һ�� 
Object * �Ǵ�ֵ��ָ��

�� Object & �Ǵ����ã�
����Ա���� ��һ��

�� �� zhrb (����) �Ĵ������ᵽ: ��
: ��c/c++��
: void swap(Object a,Object b)�Լ�
: void swap(Object* a,Object *b)
: ��ֻ�Ƕ�copy֮��IJ���
: ����c/c++�еĴ�����&
: void swap(Object &a,Object &b);
: ���ǶԱ���IJ���
: ���������˵������
: ӡ����void swap(Object* a,Object *b)��void swap(Object &a,Object &b);
: Ч����һ��ġ�
: ...........................

--
Everything is an Object

�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.41.166]
Technical Details
Message-ID: <4DQcYh$B4V@bbs.pku.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!news.happynet.org!PKU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,c26098b9a66ce846
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!news.happynet.org!PKU
From: SunOne@bbs.pku.edu.cn (Java)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���ڴ�ֵ���Ǵ����õĽ�һ������
Date: 30 Jul 2004 12:19:29 GMT
Organization: ����δ��վ
Message-ID: <4DQcYh$B4V@bbs.pku.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1091189899.A
Lines: 24