Re: [PATCH][_GLIBCXX_DEBUG] Remove useless checks

2023-01-23 Thread Jonathan Wakely via Gcc-patches
On Mon, 23 Jan 2023 at 18:15, François Dumont wrote: > > On 23/01/23 10:22, Jonathan Wakely wrote: > > On Mon, 23 Jan 2023 at 06:02, François Dumont via Libstdc++ > > wrote: > >> libstdc++: [_GLIBCXX_DEBUG] Remove useless constructor checks > >> > >> Creating a safe iterator from a no

Re: [PATCH][_GLIBCXX_DEBUG] Remove useless checks

2023-01-23 Thread François Dumont via Gcc-patches
On 23/01/23 10:22, Jonathan Wakely wrote: On Mon, 23 Jan 2023 at 06:02, François Dumont via Libstdc++ wrote: libstdc++: [_GLIBCXX_DEBUG] Remove useless constructor checks Creating a safe iterator from a normal iterator is done within the library where we already know that it

Re: [PATCH][_GLIBCXX_DEBUG] Remove useless checks

2023-01-23 Thread Jonathan Wakely via Gcc-patches
On Mon, 23 Jan 2023 at 06:02, François Dumont via Libstdc++ wrote: > > libstdc++: [_GLIBCXX_DEBUG] Remove useless constructor checks > > Creating a safe iterator from a normal iterator is done within the > library where we > already know that it is done correctly. The rare situation

[PATCH][_GLIBCXX_DEBUG] Remove useless checks

2023-01-22 Thread François Dumont via Gcc-patches
    libstdc++: [_GLIBCXX_DEBUG] Remove useless constructor checks     Creating a safe iterator from a normal iterator is done within the library where we     already know that it is done correctly. The rare situation where a user would use safe     iterators for his own purpose is non-Standard