[webkit-dev] Using namespace std

Peter Kasting pkasting at chromium.org
Thu May 17 12:33:06 PDT 2012

On Thu, May 17, 2012 at 12:02 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:

> It appears to me using fully qualified names (e.g. std::max(~) at call
> site) is far superior to using directive for individual symbols (e.g. using
> std::max).

It sounds in general like a number of people have been in favor of this,
and there hasn't been any opposition.

Should we say that the rule for things in std:: is to qualify at the
callsite rather than use either form of a using directive?  Is there any
disagreement with doing that?

(I assume we'd leave the existing rules unchanged for other namespaces.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120517/2df0c21b/attachment.html>

More information about the webkit-dev mailing list