R-Goc wrote:

> I this so, yes, this is sufficiently weird and novel that it needs an RFC - I 
> am a bit surprised by the motivation, especially in light of MSVC 
> successfully deploying expected with `nodiscard` - Is this a solution in 
> search of a problem?

The original issue contains the reasoning of the libcxx maintainers about why 
they won't greenlight nodiscard std::expected without an attribute with this 
function. Some more discussions were on the libcxx discord channel.


https://github.com/llvm/llvm-project/pull/154943
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to