[webkit-dev] Using namespace std

Jarred Nicholls jarred at webkit.org
Wed May 16 12:41:00 PDT 2012


On Wed, May 16, 2012 at 3:04 PM, Anders Carlsson <andersca at apple.com> wrote:

>
> On May 16, 2012, at 9:31 AM, Darin Adler <darin at apple.com> wrote:
>
> > On May 16, 2012, at 9:20 AM, Allan Sandfeld Jensen wrote:
> >
> >> there is another conflict which is entirely our own fault. It is
> between WTF::bind and the new std::bind from C++11
> >
> > We should find a good solution for this. I’d suggest talking with Anders
> Carlsson about it.
>
> I've run into this and had to use the fully qualified WTF::bind in those
> cases.
>
> FWIW, I don't think we really need using directives for the std namespace
> - the fully qualified name is short enough and I like the additional
> clarity that we're calling something in the standard library.
>

Ditto.  After awhile, one gets used to it and I for one especially
appreciate the additional clarity that it brings when reading code in a
very large project.


>
> - Anders
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120516/0b67ddc0/attachment.html>


More information about the webkit-dev mailing list