From 51461544180537370dd991be0e2b7cf8182ab576 Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Thu, 24 Feb 2005 02:05:54 +0000 Subject: [PATCH] pre-submit [SVN r2500] --- .../boost/typeof/compliant/encode_decode.hpp | 18 ++++++++++++------ test/compliant/typeof_g++.bat | 10 ++++++++-- 2 files changed, 20 insertions(+), 8 deletions(-) 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