Unlike everything is standard
ized in current C++, are there any specific reasons to leave int
, char
, ...., main()
and others from it. (Not talking of +
,-
,%
,.. because they aren't language-specific)
Why is it not like:
std::int std::main(std::int argc, std::char *argv[])
{
//Sample C++ code (incorrect with current standards though)
std::return 0;
}
Isn't standardization incomplete with them out of std scope?
What I believe is, they are basic components which occurs everywhere when writing a program, whether simple or complex. They are not included in the standardization, just to follow the DRY principle.