Using `alias this` it's easy to make wrapper for structure that calls wrapped structure methods like its own. This is one way - from wrapper to wrapped transformation. Is it possible to create the opposite way from wrapped to wrapper?

https://run.dlang.io/is/Avyu3I

All calls to Bar is redirected to Foo, but output of Foo is not redirected to Bar.

Reply via email to