title: Is the c++ hash function reasonably safe for passwords?
body: <p>Is the built in hash function in c++ reasonably safe for hashing passwords? For instance something like the below.</p>
  
  <pre><code>#include &lt;iostream&gt;
  #import &lt;string&gt;
  
  int main ()
  {
      std::hash &lt;std::string&gt; hash;
  
      std::string passwordGuess;
      unsigned long hashedPassword = 1065148159544519853; // hash of password
  
      std::cout &lt;&lt; "Enter your password: ";
      std::cin &gt;&gt; passwordGuess;
  
      unsigned long hashedPasswordGuess = hash(passwordGuess);
  
  
      if (hashedPasswordGuess  == hashedPassword) {
          std::cout &lt;&lt; "Password is correct!" &lt;&lt; std::endl;
      } else {
          std::cout &lt;&lt; "Password is wrong!" &lt;&lt; std::endl;
      }
  }
  </code></pre>
  
  <p>Is this reasonably safe or not?</p>