5 ms·
That is something I was looking for to be honest with you, but didn't know how to "look" for it lol. I had in mind the modern C++ `using` mechanism for creatin
by stefanos82 3y ago
That is something I was looking for to be honest with you, but didn't know how to "look" for it lol.
I had in mind the modern C++ `using` mechanism for creating my own types, but didn't know how to write such logic.
I guess a union would be handy dealing with different alias types, depending on the use case, if you understand what I mean.
On the other hand, `match` is far better to be used if we really get type aliases as you suggest.