33template <
typename IN,
typename OUT>
Takes as its input a float, rounds it to the nearest whole number, then outputs it as an int.
Converts input from one data type to another, then outputs the new type.
Typecast(std::function< OUT(IN)> cast=[](IN input) -> OUT { return(OUT) input;})
Typecast< int, float > IntToFloat
Typecast< float, int > FloatToInt
Typecast< bool, int > BoolToInt
Typecast< int, bool > IntToBool