220 12860 <78E2762F-0102-484E-9E5C-1432796372C5@gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Inline variables (encapsulated expressions), formal
 first draft
Date: Sun, 14 Sep 2014 16:58:48 +0800
Lines: 76
Approved: news@gmane.org
Message-ID: <78E2762F-0102-484E-9E5C-1432796372C5@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_5ECA21CE-5C54-45C1-A40B-2168F95D9394"
X-Trace: ger.gmane.org 1410685150 1320 80.91.229.3 (14 Sep 2014 08:59:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 14 Sep 2014 08:59:10 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBVNR2WQAKGQEIBQHLSQ@isocpp.org Sun Sep 14 10:59:04 2014
Return-path: <std-proposals+bncBCW25A7E3QCRBVNR2WQAKGQEIBQHLSQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f197.google.com ([209.85.160.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBVNR2WQAKGQEIBQHLSQ@isocpp.org>)
	id 1XT5eB-0000uR-P1
	for gclcip-std-proposals@m.gmane.org; Sun, 14 Sep 2014 10:59:04 +0200
Original-Received: by mail-yk0-f197.google.com with SMTP id 131sf8334658ykp.4
        for <gclcip-std-proposals@m.gmane.org>; Sun, 14 Sep 2014 01:59:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:subject:message-id:date:to:mime-version
         :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=M2jlyCJGjAZbRDPc9I9dTTj3UPdJFBJtkjd59q70GHc=;
        b=PFoTQHDB/vfe5koNI4KE/Ysy9O9o/F2DIY9rvKKndDFY6rj/yyKG0dzapIWdBmmEFR
         PlB55ydcRSOgPAZNXWDJezwAOGIgBRMRDKNEM0WC3B1ibfEbBiyDzi57RUdbgprpoZ9o
         lYF1YLAiglhCyZqHc5hSYtJi+0An3MnwjkRL7yAPj+vXnLHboofdF08Jj+q1eBwv0/a3
         KQlgYJXjdR5EIoYREZapmfi2DkHab4QE4EFccXGyxjmGgx8IQmQn32mBqcraAMqOR+Jf
         2oJXqw5hvWyEsFZA7s2Hj9y9JxB8P3KXjmKn70u5DGmXKl7kRvvU5t39jzwV0GP+FRmP
         gRKw==
X-Gm-Message-State: ALoCoQkOQCNSctlK1IsYz6rH6Pr3Q3AS9ZuNqDIydXl9yLcOL10I5RFrsfJqHZr5UHw5zaXzJ6Ao
X-Received: by 10.236.138.19 with SMTP id z19mr10898858yhi.45.1410685142431;
        Sun, 14 Sep 2014 01:59:02 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.142.5 with SMTP id rs5ls1443979igb.26.gmail; Sun, 14 Sep
 2014 01:59:01 -0700 (PDT)
X-Received: by 10.50.6.68 with SMTP id y4mr13952629igy.47.1410685141558;
        Sun, 14 Sep 2014 01:59:01 -0700 (PDT)
Original-Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [2607:f8b0:4001:c03::22b])
        by mx.google.com with ESMTPS id hb7si6733727igb.24.2014.09.14.01.59.01
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 14 Sep 2014 01:59:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:4001:c03::22b as permitted sender) client-ip=2607:f8b0:4001:c03::22b;
Original-Received: by mail-ie0-f171.google.com with SMTP id y20so3140067ier.30
        for <std-proposals@isocpp.org>; Sun, 14 Sep 2014 01:59:01 -0700 (PDT)
X-Received: by 10.42.233.75 with SMTP id jx11mr19966343icb.22.1410685141312;
        Sun, 14 Sep 2014 01:59:01 -0700 (PDT)
Original-Received: from [172.20.10.2] ([121.54.54.159])
        by mx.google.com with ESMTPSA id g3sm6813051igc.2.2014.09.14.01.58.58
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 14 Sep 2014 01:59:00 -0700 (PDT)
X-Mailer: Apple Mail (2.1878.6)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of potswa@gmail.com designates 2607:f8b0:4001:c03::22b as permitted
 sender) smtp.mail=potswa@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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:12860
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12860>

--Apple-Mail=_5ECA21CE-5C54-45C1-A40B-2168F95D9394
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

Hi all, it's proposal time again!

Abstract:
---
Inline functions have favorable behavior for some kinds of object-like enti=
ties. Often, users are encouraged to use them to wrap global variables. Thi=
s has long been the status quo, despite the unnatural boilerplate. Also, it=
 does not work with constexpr, leaving a gap in the language. This proposal=
 defines the inline specifier on variable definitions to indicate semantics=
 similar to inline function evaluation and linkage. More generally, this pr=
oduces a facility for named values, or variables that are not objects. Appl=
ications include displacing legacy value-like macros and introducing data-l=
ike class interfaces without impacting layout.
---

http://bit.ly/1qTSBiP

Please let me know if you find anything inspiring, bewildering, or nauseati=
ng.

--=20

---=20
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 e=
mail 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-proposa=
ls/.

--Apple-Mail=_5ECA21CE-5C54-45C1-A40B-2168F95D9394
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;">Hi all, it&rsquo;s pro=
posal time again!<div><br></div><div>Abstract:</div><div>&ndash;&ndash;&nda=
sh;</div><div>Inline functions have favorable behavior for some kinds of ob=
ject-like entities. Often, users are encouraged to use them to wrap global =
variables. This&nbsp;has long been the status quo, despite the unnatural bo=
ilerplate. Also, it does not work with&nbsp;constexpr, leaving a gap in the=
 language. This proposal&nbsp;defines the&nbsp;inline&nbsp;specifier on var=
iable definitions to indicate semantics similar to inline function evaluati=
on and linkage. More generally, this&nbsp;produces a facility for named val=
ues, or variables that are not objects. Applications include displacing leg=
acy value-like macros and introducing data-like class interfaces without im=
pacting layout.<br>&ndash;&ndash;&ndash;</div><div><br></div><div><a href=
=3D"http://bit.ly/1qTSBiP" class=3D"bitmark-shortlink"><span class=3D"proto=
col">http://</span>bit.ly/1qTSBiP</a></div><div><br></div><div>Please let m=
e know if you find anything inspiring, bewildering, or nauseating.</div></b=
ody></html>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--Apple-Mail=_5ECA21CE-5C54-45C1-A40B-2168F95D9394--

.
