3 ms·
True about no operator overloading, but that's just syntactical sugar for functions. I believe you can get integer parameter types by using something like the
by garfij 8y ago
True about no operator overloading, but that's just syntactical sugar for functions.
I believe you can get integer parameter types by using something like the `convertible` contract seen here https://go.googlesource.com/proposal/+/master/design/go2draft-contracts.md#passing-explicit-types-to-a-contract https://go.googlesource.com/proposal/+/master/design/go2draf... (unless I'm mistaking what you are saying)
- sanxiyn 8y agoI believe you are mistaking. C++ allows things like std::array<int, 3>, where 3 is parameter of integer types.