How to convert basic data to user defined data type?
To convert basic data to user-defined data type one should use a constructor which obtained a single parameter of that basic data type.
For example constructor Int::Int(int i) will convert integer into user-defied type Int.
Comments
Leave a comment