function signature

  1. H

    Question Specifying a datatype in signature of a function

    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...
Top Bottom