An external declaration following an inline definition is not redundant
because it forces the compiler to emit an external definition for the function.
That is,
inline void f(void) { }
[extern] void f(void);
should not trigger the
redundant redeclaration of ...
warning.
gcc/c/ChangeLog:
Hi
2023. október 30., hétfő 19:01 keltezéssel, Joseph Myers írta:
> On Sat, 28 Oct 2023, Barnabás Pőcze wrote:
>
> > An external declaration following an inline definition is not redundant
> > because it forces the compiler to emit an external definition for the
> &g
Previously, calling erase(key) on both std::map and std::set
would execute that same code that std::multi{map,set} would.
However, doing that is unnecessary because std::{map,set}
guarantee that all elements are unique.
It is reasonable to expect that erase(key) is equivalent
or better than:
au
Hi
2024. március 13., szerda 12:43 keltezéssel, Jonathan Wakely
írta:
> On Mon, 11 Mar 2024 at 23:36, Barnabás Pőcze wrote:
> >
> > Previously, calling erase(key) on both std::map and std::set
> > would execute that same code that std::multi{map,set} would.
>
Hi
2024. március 13., szerda 12:43 keltezéssel, Jonathan Wakely
írta:
> On Mon, 11 Mar 2024 at 23:36, Barnabás Pőcze wrote:
> >
> > Previously, calling erase(key) on both std::map and std::set
> > would execute that same code that std::multi{map,set} would.
>
2024. május 18., szombat 3:01 keltezéssel, Barnabás Pőcze
írta:
> Hi
>
>
> 2024. március 13., szerda 12:43 keltezéssel, Jonathan Wakely
> írta:
>
> > On Mon, 11 Mar 2024 at 23:36, Barnabás Pőcze wrote:
> > >
> > > Previously, calling erase(key)
Hi Jonathan
It seems this patch got stuck, is there any chance it could be ultimately
accepted
or rejected some time in the future?
Regards,
Barnabás Pőcze
2024. március 13., szerda 12:43 keltezéssel, Jonathan Wakely
írta:
> On Mon, 11 Mar 2024 at 23:36, Barnabás Pőcze wr