Added std:: qualifier to find() invocation.

Dmitri Gribenko gribozavr at gmail.com
Sun Sep 1 18:22:07 PDT 2013


On Sun, Sep 1, 2013 at 7:31 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:
> Iterator of std::vector may be implemented as a raw pointer. In
> this case ADL does not search find() function in std namespace.
> For example, this is the case with STDCXX implementation of vector.

Thanks!  Committed r189733 with minor formatting changes.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list