I've read that it simplifies the compiler's job, but is there a deeper reason - like possibly breaking something else in the language?
Asked
Active
Viewed 92 times
0
-
1I've heard it did not come to standard because concepts would do that better, but concepts then did not come for different reason – Slava Sep 04 '18 at 18:03
-
I'm trying to find a dupe but in the mean time: Since functions can be overloaded, you can just overload the function instead of needing to partially specialize it. That could be the reason they didn't add it. – NathanOliver Sep 04 '18 at 18:04
-
1@NathanOliver wish granted – Brian Bi Sep 04 '18 at 18:05
-
@Brian That isn't the best target. All of the answers only contain guesses or possible reasons. I'm trying to find a better one. – NathanOliver Sep 04 '18 at 18:07
-
1I really like [this answer](https://stackoverflow.com/a/8061811/4342498). I'll add it as another dupe target. – NathanOliver Sep 04 '18 at 18:09