subspace icon indicating copy to clipboard operation
subspace copied to clipboard

Dyn type erasure without macros

Open danakj opened this issue 1 year ago • 2 comments

The current trait type erasure requires virtual and forwarding explicitly to the methods of the trait along with macros to help opt a type implementing a trait into erasure.

https://cpp-rendering.io/c-type-erasure-without-macros/ suggests a way to get rid of the macros here.

danakj avatar Dec 23 '24 23:12 danakj

@danakj Would you like to assign me this issue? I will try to resolve all the problems.

ONKARBH avatar Jan 19 '25 05:01 ONKARBH

I admit this is quite exploratory and underspecified at the moment. Maybe you could send a more detailed design proposal here?

danakj avatar Jan 20 '25 17:01 danakj