[typeof] fails with Intel Compiler v11.0 on windows
Dear boosters,
Could someone out there verify that the following piece of code fails
with Intel Compiler v11.0.066 on Windows (Microsoft SDK v6.1):
---------------------
#include
AMDG Mikko Vainio wrote:
Could someone out there verify that the following piece of code fails with Intel Compiler v11.0.066 on Windows (Microsoft SDK v6.1):
<snip>
The compiler output is:
--------------------- using typeof emulation <snip>
Is this a bug? Should a header containing the implementation of encode_type_impl be included prior to encode_decode.hpp? Any help appreciated.
This is one of the limitations of emulation mode. There is no portable way for the library to generically register std::vector<T>::iterator. Adding the following lines at global scope makes the code compile #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() BOOST_TYPEOF_REGISTER_TYPE(vector<int>::iterator) In Christ, Steven Watanabe
participants (2)
-
Mikko Vainio
-
Steven Watanabe