This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Gabriel Dos Reis wrote:
Ah, yes, I have already seen some patches from Phil correcting this kind of problems.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.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |