creating a new type

how do Integers for example do it, that they are a struct under the hood but instead of calling a constructor like
int i = new int(0);
they can be assigned like
int i = 0;
Was this page helpful?