MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1u2twhq/mimicking_of_function_overloading/or6kscp/
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
You mean const as in input parameters or as target function?
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.
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/marc_b_reynolds Jun 12 '26
You mean const as in input parameters or as target function?