How to handle C++ functions with default parameter values in Ch?
The default parameter value syntax is implemented using function overloading in C++. Ch doesn’t support such a function definition in syntax directly. Ch supports it indrectly and users can enjoy the same benefit of such a C++ feature. In Ch, you can use int f(int a, …) to handle it. All information in function arguments can be obtained using va_*() functions. (Note: Ch also supports function such as int f(…)).