added missing void in template, added variadic specific code

- missing void: probable frontend bug 'cause no error.
- variadic: doesn't need loop when args.length == 1.