From -1002363468644149743
X-Google-Thread: f78e5,b53358bee20fa31
X-Google-Attributes: gidf78e5,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 11 Dec 2007 13:56:07 -0600
Return-Path: <devnull@stump.algebra.com>
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
X-SMTP-Auth: no
From: Sean Hunt <rideau3@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: Proposal for ISO C/C++: Extensions for Portable Compilation and 
	Linkage
Organization: http://groups.google.com
Message-ID: <16b078ea-6736-44f3-bdbf-d8d062b63ac1@d21g2000prf.googlegroups.com>
References: <fjkjpg$7d6$1@aioe.org> <fjlbe4$r99$01$1@news.t-online.com> 
	<fjmb5j$mpi$1@aioe.org> <fjmi8c$10v$03$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Complaints-To: groups-abuse@google.com
Complaints-To: groups-abuse@google.com
Injection-Info: d21g2000prf.googlegroups.com; posting-host=192.139.27.18; 
	posting-account=Smd70AoAAABCOP2p30dDIo8rE8bw6zTx
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 172.16.3.29:3128 (iPrism/v3)
X-Virus-Scanned: amavisd-new at ucar.edu
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Date: Tue, 11 Dec 2007 13:56:39 CST
Lines: 40
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-v3oJD8aPqQOCuwANSmJklF9fSXJZDgHekzF+gh1xcivFJNRH5Y3bNp7bGWXrxhY8496x2TF3t+/ImF4!vFf5eejaQLYY83An9wD6euGuQRoCHAbkId2onGT1vJ7PjESrwOAHeUmnhMDg9nikA940/A0y8OV0!HvJ3L4XeZYyAh4RLtQO17JIcEoY=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.36
Xref: g2news1.google.com comp.std.c++:9795

On Dec 11, 11:09 am, akfmn...@t-online.de (Andre Kaufmann) wrote:
> Why not simply:
>
> export class MyClass {};
>
> instead of:
>
> class declarelib("mylib") MyClass {}; ?
>
> > [...]
>
> Andre

If you read N2425, you'll find that it goes even further, proposing:

private:

class LibraryInternalClass;

int someSpecialHiddenFunction (int);

protected:

class SomeClass;

The idea is that private symbols are not visible outside the linking
unit. Protected and public symbols are, but a protected symbol is
guaranteed to reference the declared object within a library - a
public symbol means that all references to that symbol eventually
resolve to the same symbol, regardless of which library the came from.
For the most part, UNIX dynamic symbols are public, and Windows ones
are protected. n2425 does not define any other semantics though, such
as specifying linked libraries.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



