220 41483 <007d83b7-dcc6-4c15-8688-d5704074a6f1@isocpp.org> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Victor Dyachenko <victor.dyachenko@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: exception classes
Date: Wed, 20 Feb 2019 22:21:07 -0800 (PST)
Approved: news@gmane.org
Message-ID: <007d83b7-dcc6-4c15-8688-d5704074a6f1@isocpp.org>
References: <518a0db5-b7f2-470f-b0be-606f66f1c786@isocpp.org>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_248_364784930.1550730067658"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="207123"; mail-complaints-to="usenet@blaine.gmane.org"
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCJ4XEO5S4ERBVEGXHRQKGQE7J4FMFY@isocpp.org Thu Feb 21 07:21:12 2019
Return-path: <std-proposals+bncBCJ4XEO5S4ERBVEGXHRQKGQE7J4FMFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb1-f199.google.com ([209.85.219.199])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBCJ4XEO5S4ERBVEGXHRQKGQE7J4FMFY@isocpp.org>)
	id 1gwhjL-000rl7-UF
	for gclcip-std-proposals@m.gmane.org; Thu, 21 Feb 2019 07:21:12 +0100
Original-Received: by mail-yb1-f199.google.com with SMTP id j7sf17284916ybj.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 20 Feb 2019 22:21:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=tdSmiGTg9vN55AG0OPDiH+w2N1eWjTzxPX60g4NoGf4=;
        b=Q60kjsunT5H1C2H/bQl076T0XQ2x1KtbkTKIiV5oSw75tGTF+bQA4Q15SnZDdJbayk
         mZmaZN5KQp3p0F5RegXT7oOUcf0+fSm1vE2pKyA+G4xF3UJ+EnlC+iedoLz9XxZA9tfS
         VzsQsRICV+dcp0K52jkuMUw8JMisXeanECQZXTE4drKzuOQnJRloBow7eQI4QTh279Mm
         o41npvssmBfKQj1b7hnBkZTVa2082vs+vI5+2q5P00DDzZXtfhnjlCZ3KDyoInA4oMX2
         iO99xLWL1lnO4BgAzu0n7Cc9TZ530xxpOwp7Di8DT+n4stqG/VfyUxx+aAlMJ9c/708T
         iinw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=tdSmiGTg9vN55AG0OPDiH+w2N1eWjTzxPX60g4NoGf4=;
        b=dzavtw9npg6MtPZDBGPE0BxdKA4tSZTYBkD0yEaFGPBEDaIJ+evpcLqJh7h3lwY1O6
         Tlcy9yiC2QFo8dXeNNXfcV/31O4PNgFwdKcLmHLT8YrMaDFUFyzIbX3w1Io2B2LA9j2r
         RITC0W1LjSTaia0OrYIaxMgS+K3Ac/chqiFs0eUKscl7v+7WNKqvJoDtb8nN+iGOfjSL
         2OCTpvDIMsflxp8aYUZ57l1xTP8sAuv469g1C94npIpXUGRKFp48Z+o3mnrL9fGH+b3P
         gI4qwvq1QFYUFjRWHJBwEg8Fyq7EXZU7FGPvEeKGShewXca4/1Mc9c6+r+ESh1a5tKPT
         6QJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=tdSmiGTg9vN55AG0OPDiH+w2N1eWjTzxPX60g4NoGf4=;
        b=aTe2vwt2XxsAtTWk9KZIS0hbbGxEc7S+CiAuZElDyJXOOYi6ckELpwgrQNI+XAN97e
         BugOJTQ8RJO25KKjpe93JD/s3YwV6KEksDQXx7j+I6+R2mJgS+hATArfOZBGFprOstyn
         g5xPIqDROHtFvpoBgmpGCLbPQlfuL9Zfz0KSza7fyvUaxqr9VTOvmDZUmf3oU9T/YwY1
         dAJZ7zs/IlWklJIn1XHGhGf3NaC+CXOQwR2/k8xjn/PNSD5XvhbNiU8c+7uv20G74zVm
         XuN+vwsWlY9yXWo6INAwzAtSbSVWb4KHBtw7GOarftvSqJNK8uIeJyeQDqQ4KguLMeoL
         JxaA==
X-Gm-Message-State: AHQUAuaVpg/3KOgM8zzEjPhBXDin5WoHGDPHfeynSgYIbQ/bdufDr3uQ
	66EtaxFPZc/yyZq4Dys9MtTAkA==
X-Google-Smtp-Source: AHgI3IaPj7mCBgaHEg2YOUbDwqngj9DuLmyY4HuszrFTpqe/G9iVp+nQUfOF4Ix7KYg4KfHtNphLHw==
X-Received: by 2002:a25:14d4:: with SMTP id 203mr17213486ybu.92.1550730070240;
        Wed, 20 Feb 2019 22:21:10 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:50cb:: with SMTP id e194ls154522ybb.12.gmail; Wed, 20
 Feb 2019 22:21:08 -0800 (PST)
X-Received: by 2002:a25:8042:: with SMTP id a2mr333581ybn.2.1550730068441;
        Wed, 20 Feb 2019 22:21:08 -0800 (PST)
In-Reply-To: <518a0db5-b7f2-470f-b0be-606f66f1c786@isocpp.org>
X-Original-Sender: Victor.Dyachenko@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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:41483
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41483>

------=_Part_248_364784930.1550730067658
Content-Type: multipart/alternative; 
	boundary="----=_Part_249_1658366193.1550730067658"

------=_Part_249_1658366193.1550730067658
Content-Type: text/plain; charset="UTF-8"

On Wednesday, February 20, 2019 at 9:28:38 PM UTC+3, Kristen Wegner wrote:
>
> Exceptions are currently just structs or classes
>

Wrong. Any copyable type can be an exception.

throw 1; // legal C++, int exception

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/007d83b7-dcc6-4c15-8688-d5704074a6f1%40isocpp.org.

------=_Part_249_1658366193.1550730067658
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Wednesday, February 20, 2019 at 9:28:38 PM UTC+3, Krist=
en Wegner wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin=
-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"lt=
r">Exceptions are currently just structs or classes<br></div></blockquote><=
div><br></div><div>Wrong. Any copyable type can be an exception.</div><div>=
<br></div><div><span style=3D"font-family: courier new, monospace;">throw 1=
; // legal C++, int exception</span><br></div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/007d83b7-dcc6-4c15-8688-d5704074a6f1%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/007d83b7-dcc6-4c15-8688-d5704074a6f1=
%40isocpp.org</a>.<br />

------=_Part_249_1658366193.1550730067658--

------=_Part_248_364784930.1550730067658--

.
