C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Similar to [[no_discard]], but store in a variable, maybe call it [[must_store]]

From: Jan Schultke <janschultke_at_[hidden]>
Date: Thu, 24 Jul 2025 11:38:09 +0200
lifetimebound was already proposed by
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0936r0.pdf

There was consensus in favor of addressing the problem in C++20, but
no consensus in favor of an attribute. Then, the paper was abandoned
by the authors.

If you want to work on this, you should get in touch with Richard and
Nicolai (CC).

Received on 2025-07-24 09:38:28