title: Error "expression cannot be used as a function" in boost thread?
body: <p>I use QT-Creator on OpenSUSE and Boost 1.55. All binaries needed are built.</p>
  
  <p>The program is simple to test Boost thread is functional. Only declare a thread.</p>
  
  <p>When build the program I have the following error </p>
  
  <pre><code>/home/esys/Documents/Boost/headers/boost/thread/detail/thread.hpp:117: error: expression cannot be used as a function
                   f();
                   ^
  </code></pre>
  
  <p>in thread.hpp it looks like this:</p>
  
  <pre><code>void run()
          {
              f();// line 117
          }
  
      private:
          F f;
      };
  </code></pre>
  
  <p>I'm quite confused about this because the problem seems to be the code of the header itself not a build-setting things!</p>
  
  <p>How to fix this? Of course I can change to another Boost version but I'm kind of curious about this error. It's the big Boost libraries, dudes !</p>
  
  <p>Any ideas would be appreciated :)</p>