P3294 has a motivating example that looks very similar to what protocol is attempting to achieve (see the "Type Erasure" section). As far as I am aware, it is currently the most popular proposal for generating code in C++29 and has some functioning implementations already.
If it helps with standardization, we could pursue a secondary C++29 implementation using token injection.
P3294 has a motivating example that looks very similar to what
protocolis attempting to achieve (see the "Type Erasure" section). As far as I am aware, it is currently the most popular proposal for generating code in C++29 and has some functioning implementations already.If it helps with standardization, we could pursue a secondary C++29 implementation using token injection.