C++ Logo

std-proposals

Advanced search

Re: [std-proposals] unimplemented attribute

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Thu, 20 Mar 2025 12:41:39 +0100
As far as I understand, it should create an error (when compiling the TU): foo(float) not implemented. But I have not done the OP or the proposal. -----Ursprüngliche Nachricht----- Von:Robin Savonen Söderholm <robinsavonensoderholm_at_[hidden]> Gesendet:Mi 19.03.2025 20:27 Betreff:Re: [std-proposals] unimplemented attribute An:std-proposals_at_[hidden]; CC:Sebastian Wittmeier <wittmeier_at_[hidden]>; And how are overload resolution supposed to work with this? ``` void foo(auto&&); void [[unimplemented]] foo(float); int main() { foo(1.f); // Will it find the unimplemented foo(float) or instantiate a speciallisation for foo(float&&)? } // Robin

Received on 2025-03-20 11:47:00