On 26/02/2025 16:22, Jonathan Wakely wrote:
Clang 17/18 rejects 'constexpr' on non-template functions that use
(non-constexpr) placement new but accepts it on templates (silently
dropping constexpr at instantiation time):https://godbolt.org/z/Tqnvc1f1W
So it seems Clang 17/18 behavior is consiste
lo,
> > > >
> > > > the attached patch implements the C++26 papers that add `constexpr` to
> > > > the
> > > > specialized memory algorithms (the uninitialized_* family). Tested on
> > > > x86-64
> > > > Linux.
> > > >
expr` to the
> > > specialized memory algorithms (the uninitialized_* family). Tested on
> > > x86-64
> > > Linux.
> > >
> > > Thank you,
> > > --
> > > Giuseppe D'Angelo
> > >
> >
> > > Subject: [PATCH
ers that add `constexpr` to the
> > > specialized memory algorithms (the uninitialized_* family). Tested on
> > > x86-64
> > > Linux.
> > >
> > > Thank you,
> > > --
> > > Giuseppe D'Angelo
> > >
> >
> >
_* family). Tested on x86-64
> > Linux.
> >
> > Thank you,
> > --
> > Giuseppe D'Angelo
> >
>
> > Subject: [PATCH] libstdc++: implement constexpr memory algorithms
> >
> > This commit adds support for C++26's constexpr specialized memory
>
Thank you,
--
Giuseppe D'Angelo
Subject: [PATCH] libstdc++: implement constexpr memory algorithms
This commit adds support for C++26's constexpr specialized memory
algorithms, introduced by P2283R2, P3508R0, P3369R0.
The uninitialized_default, value, copy, move and fill algorithms a
Angelo
>
> Subject: [PATCH] libstdc++: implement constexpr memory algorithms
>
> This commit adds support for C++26's constexpr specialized memory
> algorithms, introduced by P2283R2, P3508R0, P3369R0.
>
> The uninitialized_default, value, copy, move and fill algorithms
x27;Angelo
Date: Sun, 16 Feb 2025 19:37:07 +0100
Subject: [PATCH] libstdc++: implement constexpr memory algorithms
This commit adds support for C++26's constexpr specialized memory
algorithms, introduced by P2283R2, P3508R0, P3369R0.
The uninitialized_default, value, copy, move and fill