From -2762054661595185009
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,9d57bb38940f08c2,start
X-Google-Attributes: gidf78e5,public
From: Biju Thomas <bijuthom@ibm.net>
Subject: References to functions allowed?
Date: 1999/01/18
Message-ID: <36A222B3.E51DFD28@ibm.net>#1/1
X-Deja-AN: 433851796
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
X-Original-Date: Sun, 17 Jan 1999 10:49:39 -0700
X-Notice: should be reported to postmaster@ibm.net
X-Authentication-Warning: philabs-gw.philabs.research.philips.com: smap set sender to <bijuthom@ibm.net> using -f
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 916629473 10592 128.250.29.16 (18 Jan 1999 03:17:53 GMT)
Organization: IBM.NET
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANqKn0uEDnX0m9pzZAQFSpAGAm2hIzbHshRgZGNlgQCEMd6sUHedWiAjb uypOIhd4+rHQjIQBFYvVYXJU/3IFkVYI =Gma1
Mime-Version: 1.0
Reply-To: bijuthom@ibm.net
NNTP-Posting-Date: 18 Jan 1999 03:17:53 GMT
Newsgroups: comp.std.c++

Hello,

Does the C++ standard allow references to functions? For example, is the
following legal?

int f () {}

int (&rf)() = f;

TIA
-- 
Regards,
Biju Thomas
---
[ 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              ]



