C++ Logo

std-proposals

Advanced search

Re: [std-proposals] [[pure]] attribute

From: Tymi <tymi.cpp_at_[hidden]>
Date: Wed, 5 Mar 2025 07:04:16 +0100
Okay, just to be clear, this is a proposal about C++. I don't want to mix C
into it, as well, it is not a C proposal. Argument about C is not very in
place for it.
C unsequenced and reproducible are a C thing, I want a pure attribute in
C++ that is distinct from C's unsequenced and reproducible.

Note that I never mentioned C in my original post for a reason.

Tymi. (Accidentally sent on wrong mail)

On Wed, 5 Mar 2025, 05:53 Tymi, <tymi.cpp_at_[hidden]> wrote:

> Okay, just to be clear, this is a proposal about C++. I don't want to mix
> C into it, as well, it is not a C proposal. Argument about C is not very in
> place for it.
> C unsequenced and reproducible are a C thing, I want a pure attribute in
> C++ that is distinct from C's unsequenced and reproducible.
>
> Note that I never mentioned C in my original post for a reason.
>
> Tymi.
>
> On Wed, 5 Mar 2025, 05:29 Jan Schultke, <janschultke_at_[hidden]>
> wrote:
>
>> > Similarly, std::swap for an array of ints is reproducible, but
>> std::swap isn't.
>>
>> I meant std::sort for an array of ints is reproducible.
>>
>> Sorry, just woke up, brain not fully booted yet.
>>
>

Received on 2025-03-05 06:04:29