Date: Mon, 24 Mar 2025 08:25:22 +0100
Could you (or others) add some motivation to disallow taking the address?
The standard library could implement some of the features without a function, but user libraries?
Does it improve safety?
-----Ursprüngliche Nachricht-----
Von:李 秋逸 via Std-Proposals <std-proposals_at_[hidden]>
Gesendet:Mo 24.03.2025 06:15
Betreff:[std-proposals] Floating an idea: [[no_address]] for functions.
An:std-proposals_at_[hidden];
CC:李 秋逸 <QiuyiLi1023_at_[hidden]>;
Since C++20, it is forbidden to get the address of almost all of the functions in the standard library. Is it a good idea to allow the third-part library to do the same thing?
获取Outlook for Android
--
Std-Proposals mailing list
Std-Proposals_at_[hidden]
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2025-03-24 07:30:50