MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1u2twhq/mimicking_of_function_overloading/or7evem/?context=3
r/C_Programming • u/marc_b_reynolds • Jun 11 '26
https://godbolt.org/z/EWTrceG5s
24 comments sorted by
View all comments
Show parent comment
1
Parameters and return type, i.e., if you pass const, it returns const; if you pass non-const, it returns non-const.
View all comments
Show parent comment
1
u/pjl1967 Jun 12 '26
Parameters and return type, i.e., if you pass const, it returns const; if you pass non-const, it returns non-const.