On Wed, May 16, 2012 at 12:04 PM, Anders Carlsson <[email protected]>wrote:

>
> On May 16, 2012, at 9:31 AM, Darin Adler <[email protected]> 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.
>

I would be strongly in favor of using fully qualified names for std classes
(std::bind instead of just bind).  This isn't a problem in other large
codebases, even ones that use far more types from std:: (like containers)
and that have column limits.

- James


> - Anders
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to