220 10582 <CAGNvRgDuacHhuNDmYGNPjMhf0-HDinJ0Dw+ocDadW=XbunqYuA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <daniel.kruegler@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposed new Class Access Modifier "restricted"
 to be used like public, protected, private, etc.
Date: Fri, 9 May 2014 20:14:56 +0200
Lines: 24
Approved: news@gmane.org
Message-ID: <CAGNvRgDuacHhuNDmYGNPjMhf0-HDinJ0Dw+ocDadW=XbunqYuA@mail.gmail.com>
References: <84bbe8b7-25ab-4975-bf32-e41531fe7319@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1399659304 4381 80.91.229.3 (9 May 2014 18:15:04 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 9 May 2014 18:15:04 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCT7RVFA4QORBINWWSNQKGQEBV744GI@isocpp.org Fri May 09 20:14:58 2014
Return-path: <std-proposals+bncBCT7RVFA4QORBINWWSNQKGQEBV744GI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ee0-f72.google.com ([74.125.83.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCT7RVFA4QORBINWWSNQKGQEBV744GI@isocpp.org>)
	id 1WipJy-0007TE-2N
	for gclcip-std-proposals@m.gmane.org; Fri, 09 May 2014 20:14:58 +0200
Original-Received: by mail-ee0-f72.google.com with SMTP id d49sf2717983eek.11
        for <gclcip-std-proposals@m.gmane.org>; Fri, 09 May 2014 11:14:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=w38E3mx2DQDpQ6AbcDEKuQR9PYzOSWb1fl81iH2e22U=;
        b=IEVKW/jeznhO7bWS0LgoA6ny5UMPdJLMEaaACQ970uY+jvhnFAt9sT57QPib7cQvz6
         mwQ7Mguc7XPJtxrwmv+reCLFH6ArRMittBz2I7UimPO49/emBWn/4OSDRHbL+4zlBxZ6
         +wq49a6H4JP0OOmpgo1Jqai32uPnljTPNCVbp7vpnm87+jzy2D29nQGuLcrAlNDnihAI
         JvjkV8vJe5WJzVJifNDRmXBmaPJL5cV56P9D5JSb8j7O7/fiPoHr+qYQznUoRoEfSV3v
         5qh3HLX1cnatBrXp7mu6yWLPe/3lMMK2VZH+0Zq68ljv2MpvIxWAykvoq23bnqZfUs8K
         xeNA==
X-Gm-Message-State: ALoCoQnzfdcVoKRFLulqPgNxHWYYHXjEME7SdHGZVBDYCkVjTyu9dq+PU4H9a+Fhhl5fMmVzeb9X
X-Received: by 10.112.85.197 with SMTP id j5mr487lbz.20.1399659297767;
        Fri, 09 May 2014 11:14:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.75.42 with SMTP id z10ls423222wiv.31.canary; Fri, 09 May
 2014 11:14:56 -0700 (PDT)
X-Received: by 10.194.82.35 with SMTP id f3mr9789154wjy.36.1399659296562;
        Fri, 09 May 2014 11:14:56 -0700 (PDT)
Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [2a00:1450:400c:c05::230])
        by mx.google.com with ESMTPS id el4si79991wid.29.2014.05.09.11.14.56
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 09 May 2014 11:14:56 -0700 (PDT)
Received-SPF: pass (google.com: domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) client-ip=2a00:1450:400c:c05::230;
Original-Received: by mail-wi0-f176.google.com with SMTP id n15so1750681wiw.3
        for <std-proposals@isocpp.org>; Fri, 09 May 2014 11:14:56 -0700 (PDT)
X-Received: by 10.180.11.137 with SMTP id q9mr4517456wib.13.1399659296274;
 Fri, 09 May 2014 11:14:56 -0700 (PDT)
Original-Received: by 10.217.151.130 with HTTP; Fri, 9 May 2014 11:14:56 -0700 (PDT)
In-Reply-To: <84bbe8b7-25ab-4975-bf32-e41531fe7319@isocpp.org>
X-Original-Sender: daniel.kruegler@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c05::230 as
 permitted sender) smtp.mail=daniel.kruegler@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10582
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10582>

2014-05-09 20:03 GMT+02:00  <lwb.ztexas@gmail.com>:
>
> I Propose a new Class Access Modifier "restricted" to be used like public,
> protected, private, etc.
>
> Sometimes it would be nice to have a 4th Class Access Modifier, I'll call it
> "restricted", which would be  similar to "private", but which would provide
> restricted access to members, methods, etc.,
> ONLY within the File where the Class was defined (generally the .h file).

The standard does not require that source code is stored in files, the
notion of /source file/ in C++ does only exist conceptually, so in
which sense do you suggest to define the "file"?

- Daniel

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
