[PATCH] Tiny tweak of the original fix for 8347

Gabriel Dos Reis gdr@integrable-solutions.net
Sun Dec 1 07:00:00 GMT 2002


Paolo Carlini <pcarlini@unitus.it> writes:

| +
| +	size_type __dnew = static_cast<size_type>(distance(__beg, __end));

Please, do fully qualify the above use of distance() with std::.

If you use a standard function *internally*, not mandated by the
interface then, please don't invoke Koenig lookup.

-- Gaby



More information about the Libstdc++ mailing list