New paper: N3595, Simplifying Argument-Dependent Lookup Rules -- Peter Gottschling

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3595

Date: 2013-03-15

Simplifying Argument-Dependent Lookup Rules

by Peter Gottschling

Excerpt:

ADL rules as de fined today are not always intuitive to me -- and I dare to postulate: for Joe Coder neither. Especially, when unintended overloads for common function names (e.g. "size") are accidentally found, they can hide the intended overload and require the programmer to write much more code to get the right overload called. I speak from experience. David Abrahams is fi ghting since a long time that programmers have more control over ADL: [Abr04, Abr12] and many other documents. Other modi cations were proposed by Herb Sutter [Sut06].

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.