🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2553

Re: ubiquitous exception specs?

#2553
From: Jason Merrill
Date: Wed, 15 Nov 1995 01:30
15 lines
1364 bytes
>>>>> Fergus Henderson <fjh@munta.cs.mu.OZ.AU> writes:

> (It's a pity C++ doesn't have variable-argument macros like GNU C/C++ does -
> if it did, this could be made a bit more concise, e.g. just `THROW(X, Y)'
> rather than `EXCEPTIONS(throw(X, Y))'.)

Well, you could write `THROW((X, Y))':

#define THROW(ARGS) throw ARGS

Jason
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <u9lopiixjl.fsf@yorick.cygnus.com>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <47va08$8lb@gabi.gabi-soft.fr> <480rub$oi0@steel.interlog.com> <483e1r$kkd@steel.interlog.com> <smeyersDHwpw1.48n@netcom.com> <48535s$58r@steel.interlog.com> <9531723.9375@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 15 Nov 95 01:30:37 GMT
Approved: fjh@cs.mu.oz.au
From: jason@cygnus.com (Jason Merrill)
Newsgroups: comp.std.c++
Subject: Re: ubiquitous exception specs?
X-Original-Date: 14 Nov 1995 15:30:54 -0800
Organization: Cygnus Support, Mountain View, CA
Message-ID: <u9lopiixjl.fsf@yorick.cygnus.com>
References: <47va08$8lb@gabi.gabi-soft.fr> <480rub$oi0@steel.interlog.com>
 <483e1r$kkd@steel.interlog.com> <smeyersDHwpw1.48n@netcom.com>
 <48535s$58r@steel.interlog.com> <9531723.9375@mulga.cs.mu.OZ.AU>
In-Reply-To: fjh@munta.cs.mu.OZ.AU's message of 13 Nov 1995 17:15:33 GMT
X-Newsreader: Gnus v5.0
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMKlCzOEDnX0m9pzZAQGuwgF/XtgJkY4LNvikS29RE7VT44Lia6GbKcLz
 KQunE3Op1HjXrCPvgOC+xS2Y6vNAHrhU
 =leqo