Nim template where early binding is not possible?

前端 未结 0 1383
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 19:58

There\'s the build_type template defined in the lib.nim library.

template build_type*[T](_: type[T]): T = T.build()

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