title: Casting to template type
body: <p>What is this syntax Prof. Stroustrup uses in his book The C++ Programming Language 4th ed. while describing hash and equality functions on page 917.</p>
  
  <pre><code>std::hash&lt;int&gt;{}(variable) //variable is of type int
  </code></pre>
  
  <p>Is that a casting from int to hash ? But why those flower brackets after hash? I know that placing them after a variable default initializes it. As for as casting is concerned we normally cast like say double (int)!</p>