From -8685840827834334644
X-Google-Thread: 7894ca11fe,6d978d9a8718e000
X-Google-Attributes: gid7894ca11fe,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news2.google.com!news.glorb.com!news.alt.net!frodo.cs.rpi.edu!not-for-mail
From: Michael Kilburn <crusader.mike@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: replacing Koenig lookup
Date: Mon, 25 May 2009 16:25:37 CST
Organization: http://groups.google.com
Lines: 44
Sender: cppmods@cs.rpi.edu
Approved: stephen.clamage@sun.com
Message-ID: <3b3b60a7-8bbe-4ec0-9825-447bf5cabc84@p6g2000pre.googlegroups.com>
References: <fd118fd5-4b7b-4904-ac43-bc844dcfb96f@j18g2000prm.googlegroups.com>
  <37424f1f-77ef-4275-bfff-825d58f8e31b@p4g2000vba.googlegroups.com>
NNTP-Posting-Host: netlab.cs.rpi.edu
Content-Type: text/plain; charset=ISO-8859-1
To: (Usenet)
Return-Path: <cppmods@ruralroute.cs.rpi.edu>
X-Original-Date: Mon, 25 May 2009 11:17:21 -0700 (PDT)
X-Submission-Address: std-c++@netlab.cs.rpi.edu
Xref: g2news2.google.com comp.std.c++:722

On May 19, 4:38 pm, vandevoo...@gmail.com wrote:
> On May 17, 11:50 pm, Michael Kilburn <crusader.m...@gmail.com> wrote:
> > I am sure everyone here like the idea of changing core language
> > feature... ;-) But has anyone ever considered getting rid or better
> > replacing 'Koenig lookup'?
>
> I don't think you'll see change in this area for the C++0x time frame.

I am sure I won't see this change in the timeframe of my life. :-) But
it is interesting to keep trying...

> However, you may be interested in N1691 (Dave Abrahams' "explicit
> namespace" proposal) and Herb Sutter's N2103 (a proposal to limit ADL
> in some ways).

Thanks! Do you by any chance know the status of these proposals? Are
they closed?

I read both of them and in my (modest) opinion they should not be
implemented -- they fail to address the root of the problem (i.e. ADL
itself).

ADL is a complex and evil and should not be 'fixed' by adding more
complexity to it (Herb's proposal), also I do not see any benefit from
adding yet another mechanism (explicit namespaces) while retaining ADL
(Dave's proposal) -- in this case additional complexity would be
interaction between those mechanisms. I'd very much prefer getting rid
of ADL completely and replace with with simple and straightforward
mechanism of 'global' namespace (which is nothing but an extension of
existing 'namespace' mechanism)

Ah, and btw -- I re-read my original posting, it is full of cr%p --
you probably want to skip most of 'philosophical' stuff and look
directly into the proposed idea. :-)

Michael.


-- 
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



