From 8912168041331866010
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,74637d148a591f02
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-04-04 12:56:04 PST
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
From: "Balog Pal" <pasa@lib.hu>
Newsgroups: comp.std.c++
References: <052201c0b4ab$603e8050$0500a8c0@dragonsys.com> <Xns906FC4EAFCB49marcotechnobore@technoboredom.net> <0ul4ct4hd6si29tea3cjr81kpjdvhoe8gi@4ax.com> <aji1a9.kp.ln@158.250.10.247> <4ZvL68C9O6x6Ew$F@ntlworld.com>
Subject: Re: Proposal: two real uses for the "auto" keyword
Organization: LiB
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <3acb3a32@andromeda.datanet.hu>
X-Trace: 4 Apr 2001 17:13:54 +0200, monor-157.dialin.datanet.hu
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by mulga.cs.mu.OZ.AU id BAA07252
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Date: Wed,  4 Apr 2001 14:53:41 CST
Lines: 26
Xref: supernews.google.com comp.std.c++:4129

"Francis Glassborow" <francis.glassborow@ntlworld.com> wrote in message news:4ZvL68C9O6x6Ew$F@ntlworld.com...

> #include <algorithm>
> using namespace std;
> ~using std::sort;
> 
> Do I even need to explain what such code would do? :)

Will that apply to all sorts of nemes? Like in the situation:

{
    Object x;
// ... set up x;
    const typeof(x) & x_ = x;
    ~using x;  // hides x
}
?

Paul

---
[ 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://www.research.att.com/~austern/csc/faq.html                ]



