diff --git a/include/boost/typeof/compliant/encode_decode.hpp b/include/boost/typeof/compliant/encode_decode.hpp index 97b524b..92d30cc 100755 --- a/include/boost/typeof/compliant/encode_decode.hpp +++ b/include/boost/typeof/compliant/encode_decode.hpp @@ -11,16 +11,22 @@ namespace boost { namespace { - template struct encode_type_impl; - template struct decode_type_impl; + template + struct encode_type_impl; + + template + struct decode_type_impl; } - template struct encode_type - : encode_type_impl + template + struct encode_type : encode_type_impl {}; - template struct decode_type - : decode_type_impl::type, typename mpl::next::type> + template + struct decode_type : decode_type_impl< + typename mpl::deref::type, + typename mpl::next::type + > {}; } } diff --git a/test/compliant/typeof_g++.bat b/test/compliant/typeof_g++.bat index d08154c..fdea129 100755 --- a/test/compliant/typeof_g++.bat +++ b/test/compliant/typeof_g++.bat @@ -1,3 +1,9 @@ -g++ -IC:\boost\boost_1_32_0 -I..\..\..\.. ..\main.cpp test_compliant.cpp odr1.cpp odr2.cpp -g++ -IC:\boost\boost_1_32_0 -I..\..\..\.. -D BOOST_TYPEOF_COMPLIANT -D BOOST_TYPEOF_LIMIT_SIZE=50 -D BOOST_MPL_LIMIT_VECTOR_SIZE=50 test_compliant.cpp ..\main.cpp odr1.cpp odr2.cpp +time /T +g++ -IC:\boost\boost_1_32_0 -I..\..\..\.. -D BOOST_TYPEOF_COMPLIANT -D BOOST_TYPEOF_LIMIT_SIZE=50 -D BOOST_MPL_LIMIT_VECTOR_SIZE=50 ..\main.cpp test_compliant.cpp odr1.cpp odr2.cpp + +time /T + +g++ -IC:\boost\boost_1_32_0 -I..\..\..\.. ..\main.cpp test_compliant.cpp odr1.cpp odr2.cpp + +time /T