title: Error : "expected constructor, destructor, or type conversion before 'typedef' "
body: <p>I have a compilation problem using C++ language and IloCplex framework.</p>
  
  <p>I first tried to compile the entire project using a makefile, but i got an unexpected error, with a class header call <strong>AbstractModel</strong>, so as to ensure that this error is not due to other file, i decided to just compile this class with this command :</p>
  
  <blockquote>
    <p>g++ -o AbstractModel.o -c -I/path/to/cplex/include 
    -I/path/to/concert/include -DIL_STD AbstractModel.cpp</p>
  </blockquote>
  
  <p>Then i realized that i got the same error message, here is the <strong>AbstractModel</strong> class :</p>
  
  <p><a href="http://pastebin.com/B9YiqKUS" rel="nofollow">http://pastebin.com/B9YiqKUS</a></p>
  
  <p>and the type.h class : </p>
  
  <p><a href="http://pastebin.com/trQ6BDBK" rel="nofollow">http://pastebin.com/trQ6BDBK</a></p>
  
  <p>The error is the following :</p>
  
  <blockquote>
    <p>In file included from AbstractModel.hpp:12,
                     from AbstractModel.cpp:7:
    type.h:6: error: expected constructor, destructor, or type conversion before ‘typedef’
    In file included from AbstractModel.cpp:7:
    AbstractModel.hpp:50: error: ‘Vector’ does not name a type
    AbstractModel.hpp:51: error: ‘Vector’ does not name a type</p>
  </blockquote>
  
  <p>Any suggestions ? </p>
  
  <p>P.S : Cplex works fine on this computer, i have another project with the same kind of class that compiles perfectly with the same command.</p>