frederick-vs-ja wrote:

FYI [P2548R2](https://wg21.link/p2548r2) added relaxing wording to 
[[func.wrap.general]](https://eel.is/c++draft/func.wrap.general) to allow 
unwrapping in construction. I think we should implement the allowance for 
`move_only_function` in C++23 as a DR.
We can't unwrap in `function` construction though, IIUC, because its target 
object is observable. But we can unwrap `function` when constructing a 
`move_only_function`.

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

Reply via email to