Hello,
Il 07/12/22 16:19, Kilian Henneberger via Std-Discussion ha scritto:But if `std::string::const_iterator` is a class type, then the first overload is a better match and will be called.
This is https://cplusplus.github.io/LWG/issue84 .
Thank you,--
Giuseppe D'Angelo | giuseppe.dangelo@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts