|
|
|
|
|
by kzrdude
1227 days ago
|
|
Is it the most trivial? C++ doesn't support it, and it has type inference using `auto`. Note that in my example the type information flows from the variable to picking which generic method that is called, which is reversed information flow of what I would call the most trivial case - when the variable gets its type from the method that was called. (This is trivial: let x = 1i32;) |
|
> C++ doesn't support it
How exactly is it different?