title: No member named 'name' in namespace 'namespace'
body: <p>I can't for the life of me figure out why this error is being generated as I'm pretty sure the syntax is correct (obviously I'm wrong!). So I figured I'd see if anyone here could point it out for me.</p>
  
  <p><strong>main.cpp</strong></p>
  
  <pre><code>#include "Object.h"
  
  int main(){
      out = json::readJSON(data_dir + "a2-empty_array_with_empty_object.json", e, debug);
  }
  </code></pre>
  
  <p><strong>Object.h</strong></p>
  
  <pre><code>namespace json{
  template&lt;typename T&gt;
      std::string readJSON(std::string jsonFile, T&amp; object, bool debug = false, char delimiter = ',') {}
  }
  </code></pre>
  
  <p>I'm basically getting this error, when clearly the function is in the namespace. Why does it refer to the function as a member? Maybe there is something else going on here...</p>
  
  <p>Error:</p>
  
  <pre><code>a2main.cpp:66:21: error: no member named 'readJSON' in namespace 'json'
          out = json::readJSON(data_dir + "a2-cartoons.json", c, debug, '|');
  </code></pre>