Yeah, just make the other args normal runtime instead of template:
void show(T...)(string file = __FILE__, uint line = __LINE__, string fun = __FUNCTION__) {
// same body } // same usage
Adam D. Ruppe via Digitalmars-d-learn Sun, 01 Nov 2015 14:50:18 -0800
Yeah, just make the other args normal runtime instead of template:
void show(T...)(string file = __FILE__, uint line = __LINE__, string fun = __FUNCTION__) {
// same body } // same usage