title: Passing variadic template argument pack to next function
body: <p>I have done my own reimplementation of printf() (classic) in my debugging code. </p>
  
  <pre><code>    template&lt;typename T, typename ...Args&gt;
      void Printf(wchar_t const * message, T value, Args ...args);
      void Printf(wchar_t const * message);
      void Printf();
  </code></pre>
  
  <p>It uses variadic templates and works perfectly fine. </p>
  
  <p>Now I want to use Printf() in couple of functions that are going to accept almost same arguments but perform Printf() in different ways. Here is one of the client functions for Printf()</p>
  
  <pre><code>template&lt;typename ...Args&gt;
  void Debug::Line(unsigned int in_tabs, wchar_t const * in_string, Args...in_args){
      for (unsigned int i = 0; i &lt; in_tabs; ++i)
          Tab();
      Printf(in_string, in_args...);
      NewLine();
  }
  </code></pre>
  
  <p>As soon I start using this construct, I start getting UNRESOLVED linker errors</p>
  
  <pre><code>error LNK2019: unresolved external symbol "public: static void __cdecl Nerv::Debug::Line&lt;&gt;(unsigned int,wchar_t *)" (??$Line@$$$V@Debug@Nerv@@SAXIPA_W@Z) referenced in function "public: void __thiscall Nerv::UI::NervUIRect::DebugRect(void)" (?DebugRect@NervUIRect@UI@Nerv@@QAEXXZ)
  error LNK2019: unresolved external symbol "public: static void __cdecl Nerv::Debug::Line&lt;int,int&gt;(unsigned int,wchar_t *,int,int)" (??$Line@HH@Debug@Nerv@@SAXIPA_WHH@Z) referenced in function "public: void __thiscall Nerv::UI::NervUIRect::DebugRect(void)" (?DebugRect@NervUIRect@UI@Nerv@@QAEXXZ)
  </code></pre>
  
  <p>It's strange to me, cause I've tested this construct on a simpler case first and it worked fine.</p>
  
  <pre><code>template&lt;typename T,typename...Ts&gt;
  void Printf(T value,Ts...args){
      OutputDebugString(value);
      Printf(args...);
  }
  void Printf(){
  
  }
  
  template&lt;typename...Args&gt;
  void UsePrintf(Args...args){
      Printf(args...);
  }
  </code></pre>
  
  <p>The difference from the simple case is that all theese functions (that don't work) are static members of a Debug class and that there are some additional function arguments.
  So how am I supposed to deal with this?</p>