Advanced reification of generic parameters
I have a class that takes two generic parameters. It is a custom class but for this discussion let’s think of it as Map and for a specific instance let’s say I care about Map
I want to have an inline reified function that uses the K, V types in a reified manner. So I could do something like this where I have K, V as reified parameters as in:
inline fun foo() {
// Access K, V
}
which I could call with foo() but I don’t want to pass the K, V values as separate parameters. What I want is...