I am trying to define a function that I would like to specify a datatype as in input of the function. The only/best way I evision doing this is by making a enum with the range of datatypes the function will accept and us the enum as part of the function's signature.
example code:
Enum...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.