title: C++ Template - A parameter in a returned type - unexpected token preceding ';'
body: <p>I have a following code:</p>
  <pre><code>template&lt;bool SSL&gt;
  class WebSockets {
  private:
     uWS::TemplatedApp&lt;SSL&gt;::WebSocketBehavior configureServer(); // error
     // uWS::TemplatedApp&lt;false&gt;::WebSocketBehavior configureServer(); // works
     // uWS::TemplatedApp&lt;true&gt;::WebSocketBehavior configureServer(); // works
  };
  </code></pre>
  <p>And during building a solution I'm getting</p>
  <blockquote>
  <p>Error C2061   syntax error: identifier 'WebSocketBehavior'</p>
  <p>Error C2238   unexpected token(s) preceding ';'</p>
  </blockquote>
  <p>If I define manually false/true instead of use SSL, then it works well but I'd like to use the template parameter 'SSL'. What am I doing wrong? I don't have a lot of experience with templates.</p>
  <p>Struct WebSocketBehavior and TemplatedApp is defined <a href="https://github.com/uNetworking/uWebSockets/blob/master/src/App.h" rel="nofollow noreferrer">here</a></p>