From -3090047362832853962
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ede379f5dbbc1549
X-Google-Attributes: gidf78e5,public
From: sbnaran@uiuc.edu (Siemel B. Naran)
Subject: Re: Suggestion: "typeof" keyword
Date: 1999/08/16
Message-ID: <slrn7rbkfd.dom.sbnaran@localhost.localdomain>#1/1
X-Deja-AN: 513415180
Approved: Valentin Bonnard <bonnard@clipper.ens.fr>
References: <7nt3vl$1oe$1@nnrp1.deja.com> <37AFAC37.6B7F4253@cs.utu.fi> <7opt86$pku$1@nnrp1.deja.com> <7p0ks0$1i7$1@mulga.cs.mu.OZ.AU> <FGEyJK.GLB@research.att.com>
X-Original-Date: 15 Aug 1999 02:48:33 GMT
Organization: University of Illinois at Urbana-Champaign
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUAN7gvK6wEuYhIxRhxAQGvNwH/WrLsWO/k8nTxAWPE2C8QeKFzSm49wV7L Bn8u5yArpScNHUb4qKlQhLnyO9RYNh/6f1Hi/SpQUszQFQIafAYYsA== =TLaB
User-Agent: slrn/0.9.5.7 (UNIX)
Reply-To: sbnaran@uiuc.edu
Newsgroups: comp.std.c++

On 13 Aug 99 17:17:14 GMT, Andrew Koenig <ark@research.att.com> wrote:

>	template<class In, class Out>
>	Out copy(In begin, In end, Out out)

>	declare copy(declare begin, declare end, declare out)


Oops, what if typeof(end) is not the same as typeof(begin).  The
original template version rejects this whereas the new declare
version accepts this.  Not that I mind, though :).

-- 
----------------------------------
Siemel B. Naran (sbnaran@uiuc.edu)
----------------------------------
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



