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@gmail.com>
Gesendet: Mi 19.03.2025 20:27
Betreff: Re: [std-proposals] unimplemented attribute
An: std-proposals@lists.isocpp.org;
CC: Sebastian Wittmeier <wittmeier@projectalpha.org>;

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