r/C_Programming • • Jun 11 '26

mimicking of function overloading

25 Upvotes

24 comments sorted by

View all comments

Show parent comment

3

u/marc_b_reynolds Jun 11 '26 edited Jun 11 '26

Just out of curiosity I tracked back to the oldest versions of clang , GCC & VC that work without any mods: 12.0.0 / 8.1 & 19.40 respectively

https://godbolt.org/z/5Ta8EWj4e

2

u/vitamin_CPP Jun 13 '26

Thanks for sharing. I'm surprised by the MSVC support!