A constructor that can be called with a single argument defines an implicit conversion from the parameter type to the class type.

 
  • 可以用单个实参来调用的构造函数定义了从形参类型到该类类型的一个隐式转换。
今日热词
目录 附录 查词历史