Generic constructor from integer input for a Rational Number object

前端 未结 0 1072
悲哀的现实
悲哀的现实 2021-01-21 05:26

I am implementing a rational number library for personal use, and would like a construction option to be from_integer, where the method takes any data type capable of being cast

相关标签:
回答
  • 消灭零回复
提交回复
热议问题