Boost logo

Boost Users :

From: Bulygin, Sergey (Bulygin_at_[hidden])
Date: 2005-08-29 10:30:14


>>#include <boost/typeof/typeof.hpp>
>>#define BOOST_TYPEOF_COMPLIANT

>Just move define before the include, otherwise it has no effect.

>Regards,
>Arkadiy

I tried that before, but it didn't give an effect. Now I discovered the problem - that was "#include <boost/typeof/typeof.hpp>" in the precompiled header file. That way typeof.hpp in the cpp was ignored, and BOOST_TYPEOF_COMPLIANT definition didn't make its job.

Thanks!
Sergey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net