mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-27 11:20:29 +00:00
5 lines
107 B
Nim
5 lines
107 B
Nim
template init*(lvalue: var auto, args: varargs[typed]) =
|
|
mixin init
|
|
lvalue = init(type(lvalue), args)
|
|
|