On Mar 16, 2012 2:29 PM, "Adam D. Ruppe" <destructiona...@gmail.com> wrote: > > Put the string file = blaha in the template argument list, > before the variadic. > > voic checkConsistency(string file = __FILE__, int line = __LINE__, T...)(T t) { > > But then you have to write it each time.
- Capturing caller's file/line number in variadic templ... H. S. Teoh
- Re: Capturing caller's file/line number in varia... Mantis
- Re: Capturing caller's file/line number in varia... Adam D. Ruppe
- Re: Capturing caller's file/line number in v... Kevin Cox
- Re: Capturing caller's file/line number ... H. S. Teoh
- Re: Capturing caller's file/line number in v... Adam D. Ruppe
- Re: Capturing caller's file/line number in varia... Steven Schveighoffer
- Re: Capturing caller's file/line number in v... H. S. Teoh
- Re: Capturing caller's file/line number in v... Steven Schveighoffer
- Re: Capturing caller's file/line number in varia... Yuri Gorobets