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