220 11088 <CAFk2RUYLzEaT0Dnh_bQ=WRJLEkb+40K2H6g0k2g5snF18bhmcA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Core Issue: deleted templates
Date: Thu, 5 Jun 2014 15:31:33 +0300
Lines: 30
Approved: news@gmane.org
Message-ID: <CAFk2RUYLzEaT0Dnh_bQ=WRJLEkb+40K2H6g0k2g5snF18bhmcA@mail.gmail.com>
References: <a95232ae-71bc-41cc-ad52-511fa4aab43a@isocpp.org>
	<9f5782b9-8ba4-4be6-a874-326df936ff24@isocpp.org>
	<a81737d9-abec-4293-a6de-145ce9a9124e@isocpp.org>
	<CAFk2RUYXVgCre8Zu1QhV1d93Nw4mesRx97yF8N65fntiJvCoAg@mail.gmail.com>
	<600874ab-714d-46c8-8bce-e1fb5c18f6e0@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1401971502 18498 80.91.229.3 (5 Jun 2014 12:31:42 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 5 Jun 2014 12:31:42 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBJOGYGOAKGQE7IKV3LI@isocpp.org Thu Jun 05 14:31:35 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBJOGYGOAKGQE7IKV3LI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f197.google.com ([209.85.223.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBJOGYGOAKGQE7IKV3LI@isocpp.org>)
	id 1WsWpT-0006p5-CO
	for gclcip-std-proposals@m.gmane.org; Thu, 05 Jun 2014 14:31:35 +0200
Original-Received: by mail-ie0-f197.google.com with SMTP id rd18sf4292086iec.8
        for <gclcip-std-proposals@m.gmane.org>; Thu, 05 Jun 2014 05:31:34 -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=zG8xbceaF08Zo+r64vOrxD8Omd/WwkygGLqHdD09sz0=;
        b=mYyaChRSCrVxAyZtiziOOMfWAoXBBfA+VGmUCFglU0O88dAKaajIouAqfySZojG0v6
         pRjOpZFJpbpg0I+AL/vT9qJaQA+2iShXUh6WhyusjV+bmusxK3sNG4BgbZ1MNnGsQvmj
         pE7gNm6VSRQ2YADasQ4TYc0v3Z39cXYFecgf4LzFqm2DrgcyCSqOKKfDLzsw9G3xq7GE
         RGZ9AlxV64U2rGF65vPmTW5XnmcJQ2qIK7o96tzm4dAS/cTLvxOmqbKxEJdR4HGGFlVi
         CF2Ape9nBVQ+K8b7npPkoR2CzvFdljG60Ljfwz2HDSv0iotnodQuJJQ5j89Wi0BojwHa
         JV0w==
X-Gm-Message-State: ALoCoQnsX86SnTbH3EC891M3AQCvDIY+9KHIyjao4gkOMfiXXj1gX1YOjfH1vSt/qpx/JcGgO8sI
X-Received: by 10.182.137.233 with SMTP id ql9mr13619529obb.46.1401971494311;
        Thu, 05 Jun 2014 05:31:34 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.50.16 with SMTP id r16ls101519qga.71.gmail; Thu, 05 Jun
 2014 05:31:33 -0700 (PDT)
X-Received: by 10.224.25.133 with SMTP id z5mr17212036qab.97.1401971493615;
        Thu, 05 Jun 2014 05:31:33 -0700 (PDT)
Original-Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [2607:f8b0:400d:c04::235])
        by mx.google.com with ESMTPS id i19si7986978qaq.118.2014.06.05.05.31.33
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 05 Jun 2014 05:31:33 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c04::235 as permitted sender) client-ip=2607:f8b0:400d:c04::235;
Original-Received: by mail-qg0-f53.google.com with SMTP id f51so1446781qge.12
        for <std-proposals@isocpp.org>; Thu, 05 Jun 2014 05:31:33 -0700 (PDT)
X-Received: by 10.140.96.51 with SMTP id j48mr76483309qge.24.1401971493503;
 Thu, 05 Jun 2014 05:31:33 -0700 (PDT)
Original-Received: by 10.224.181.5 with HTTP; Thu, 5 Jun 2014 05:31:33 -0700 (PDT)
In-Reply-To: <600874ab-714d-46c8-8bce-e1fb5c18f6e0@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c04::235 as
 permitted sender) smtp.mail=ville.voutilainen@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:11088
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11088>

On 5 June 2014 15:08,  <mitchnull@gmail.com> wrote:
> Oh right, forget that... I mixed up multiple inclusion of the same header
> and ODR.
>
> Sorry for the noise ;)


No worries. I think deleting a class means that it can't have another
definition, so you
can't do

// in header
class thisandthat = delete;

// in another file
class thisandthat {/*whatever*/};

and regarding the earlier question about pointers and references,
I think we should do what we do with deleted functions, aka make uses of such
deleted things ill-formed. That means you can't use thisandthat* or thisandthat&
either.

-- 

--- 
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/.

.
