title: Trouble using tuple<sf::Texture, bool> in a C++ header file
body: <h2>The Problem Code</h2>
  
  <p>I have the following function in my <code>functions.cpp</code> file:</p>
  
  <pre><code>tuple&lt;sf::Texture, bool&gt; load_texture(string texture_path){
      bool success = true;
      sf::Texture texture;
      if (!texture.loadFromFile(texture_path)){
          cout &lt;&lt; "Texture failed to load" &lt;&lt; endl;
          success = false;
      }
      return make_tuple(texture, success);
  }
  </code></pre>
  
  <p>I am using this with the SFML 2.1 package so that you understand what <code>sf::Texture</code> is in reference to.</p>
  
  <p>I'm trying to do a forward definition of this function in my <code>header.h</code> file like so:</p>
  
  <pre><code>tuple&lt;sf::Texture, bool&gt; load_texture(string texture_path);
  </code></pre>
  
  <p>But I get the following errors:</p>
  
  <ul>
  <li>Error 1: <code>syntax error : missing ';' before '&lt;'</code></li>
  <li>Error 2: <code>missing type specifier - int assumed. Note: C++ does not support default-int</code></li>
  <li>Error 3: <code>'sf' : is not a class or namespace name</code></li>
  </ul>
  
  <p>I apologize if this is absurdly simple but I'm new to the header game. </p>
  
  <h2>My question</h2>
  
  <p>What do I need to include in my header file to use the tuples and what do I need to include so that the compiler understands my reference to <code>sf::</code>? Should I be including <code>"SFML\Graphics.hpp"</code>?</p>
  
  <p>If you need more information or code simply let me know.</p>