Does Aux pattern provides better typesafety then type parameter?

前端 未结 0 1835
遥遥无期
遥遥无期 2021-01-28 13:37

I was running some experiments around Aux-pattern and figured out that Aux is somewhat better integrated with compiler. Consider the following two cases:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题