[typeof] question: BOOST_TYPEOF_COMPLIANT
Evaluating Boost.Typeof library with MSVC 7.1 compiler.
Since this compiler has native typeof trick, BOOST_TYPEOF and BOOST_AUTO work fine by default. But with regard to future upgrade to MSVC 8.0, I want to have my TYPEOF-related code portable, i.e. registering all those user types for proper TYPEOF emulation.
When I "#define BOOST_TYPEOF_COMPLIANT", nothing happens and the code proceeds working even without registering my types. I would expect BOOST_TYPEOF_COMPLIANT definition to cause compiler errors for not registered types. Here's the code snippet that I am trying to compile:
#include
participants (1)
-
Bulygin, Sergey