On Sunday, 27 May 2018 at 16:06:21 UTC, 12345swordy wrote:
You are replacing runtime typeinfo with compiletime templates. Unless you can guarantee that the type information won't change during runtime, you are going to have a hard time.
Read this thread for context https://forum.dlang.org/post/[email protected]
See this PR for an example https://github.com/dlang/dmd/pull/7225And see this talk for a demonstration of the benefits https://www.youtube.com/watch?v=endKC3fDxqs
Mike
