220 17 <6517fd7d-20b5-4183-881d-e4e451695e8e@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: nx02columbia@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: #pragma once
Date: Sat, 10 Nov 2012 20:20:18 -0800 (PST)
Lines: 49
Approved: news@gmane.org
Message-ID: <6517fd7d-20b5-4183-881d-e4e451695e8e@isocpp.org>
References: <904ddcc3-2deb-4780-afac-cb019457323d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_102_17666992.1352607618060"
X-Trace: ger.gmane.org 1352607619 20908 80.91.229.3 (11 Nov 2012 04:20:19 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 11 Nov 2012 04:20:19 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD5457MAREGRBAWP7SCAKGQEWHX7QQI@isocpp.org Sun Nov 11 05:20:29 2012
Return-path: <std-proposals+bncBD5457MAREGRBAWP7SCAKGQEWHX7QQI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vb0-f70.google.com ([209.85.212.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD5457MAREGRBAWP7SCAKGQEWHX7QQI@isocpp.org>)
	id 1TXP25-0007rI-5E
	for gclcip-std-proposals@m.gmane.org; Sun, 11 Nov 2012 05:20:29 +0100
Original-Received: by mail-vb0-f70.google.com with SMTP id fo1sf8344412vbb.9
        for <gclcip-std-proposals@m.gmane.org>; Sat, 10 Nov 2012 20:20:19 -0800 (PST)
Original-Received: by 10.58.247.39 with SMTP id yb7mr4094806vec.24.1352607619095;
        Sat, 10 Nov 2012 20:20:19 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.52.67.52 with SMTP id k20ls6191355vdt.1.gmail; Sat, 10 Nov
 2012 20:20:18 -0800 (PST)
Original-Received: by 10.52.76.136 with SMTP id k8mr3060669vdw.13.1352607618388;
        Sat, 10 Nov 2012 20:20:18 -0800 (PST)
In-Reply-To: <904ddcc3-2deb-4780-afac-cb019457323d@isocpp.org>
X-Original-Sender: nx02columbia@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?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:17
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/17>

------=_Part_102_17666992.1352607618060
Content-Type: text/plain; charset=ISO-8859-1

how about making it implicit and making multiple inclusion definable by 
some pragma...
it is a breaking change but tbh ppl that rely on multiple inclusion(afaik 
VT emulation in VS for example) are smart enough to fix their files in no 
time.
Call me crazy but I consider include guards one of the few remaining things 
that make C++ feel like an old language. 


On Wednesday, November 7, 2012 7:19:01 PM UTC+2, Mark Ingram wrote:
>
> As #pragma once is supported by many compilers<http://en.wikipedia.org/wiki/Pragma_once#Portability>as a non-standard add-on, how about it being made into the actual standard 
> so that we can rely on it for cross-platform development? It's much neater 
> than ugly include guards.

-- 




------=_Part_102_17666992.1352607618060
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

how about making it implicit and making multiple inclusion definable by som=
e pragma...<br>it is a breaking change but tbh ppl that rely on multiple in=
clusion(afaik VT emulation in VS for example) are smart enough to fix their=
 files in no time.<br>Call me crazy but I consider include guards one of th=
e few remaining things that make C++ feel like an old language. <br><br><br=
>On Wednesday, November 7, 2012 7:19:01 PM UTC+2, Mark Ingram wrote:<blockq=
uote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-lef=
t: 1px #ccc solid;padding-left: 1ex;">As #pragma once is supported by <a hr=
ef=3D"http://en.wikipedia.org/wiki/Pragma_once#Portability" target=3D"_blan=
k">many compilers</a> as a non-standard add-on, how about it being made int=
o the actual standard so that we can rely on it for cross-platform developm=
ent? It's much neater than ugly include guards.</blockquote>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_102_17666992.1352607618060--

.
