On Friday, 7 October 2022 at 00:13:59 UTC, matheus wrote:
Hi,Could anyone please tell me why the properties of min/max of a char returns a "char type" and not a value as an int?
Well, why whould the highest and lowest values of a type be of a different type..?
```d import std; void func(char x) { writeln("It's a char"); } void func(int x) { writeln("It's an int"); } void func(double x) { writeln("It's a double"); } void main(){ func(char.min); } ```