
29 Aug
2005
29 Aug
'05
3:30 p.m.
#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