Elektrine lite

← Feed

@asperamanca@mastodon.social

Post #3033320

2026-03-10 20:54 UTC

@meetingcpp@mastodon.online @hanadusikova@mas.to might have an idea what's the story behind that

Replies (1)

  • @meetingcpp@mastodon.online 2026-03-10 21:05

    @asperamanca@mastodon.social @hanadusikova@mas.to sure, but I think this is already explained. Making it constexpr makes sense even with deprecation. As folks are using this function out there. @jfbastien@mastodon.social pointed to this paper about memory_order_consume: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0750r1.html Which gives this some more context. C++26 also deprecates memory_order_consume, as no one has implemented it.

    Open ##3033321