C++ Logo

std-discussion

Advanced search

Re: std::string::insert and integer literal 0

From: Lénárd Szolnoki <cpp_at_[hidden]>
Date: Wed, 07 Dec 2022 18:21:52 +0000
Hi,

On 7 December 2022 17:12:17 GMT, Giuseppe D'Angelo via Std-Discussion <std-discussion_at_[hidden]> wrote:
>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 .

What is "23.1.1.9 (the "do the right thing" fix)" the issue refers to?

Cheers,
Lénárd

Received on 2022-12-07 18:21:55