diff --git a/include/boost/typeof/dmc/typeof_impl.hpp b/include/boost/typeof/dmc/typeof_impl.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/encode_decode.hpp b/include/boost/typeof/encode_decode.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/encode_decode_params.hpp b/include/boost/typeof/encode_decode_params.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/incr_registration_group.hpp b/include/boost/typeof/incr_registration_group.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/int_encoding.hpp b/include/boost/typeof/int_encoding.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/integral_template_param.hpp b/include/boost/typeof/integral_template_param.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/message.hpp b/include/boost/typeof/message.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/modifiers.hpp b/include/boost/typeof/modifiers.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/msvc/typeof_impl.hpp b/include/boost/typeof/msvc/typeof_impl.hpp old mode 100755 new mode 100644 index c7b5890..2f58c18 --- a/include/boost/typeof/msvc/typeof_impl.hpp +++ b/include/boost/typeof/msvc/typeof_impl.hpp @@ -104,7 +104,7 @@ namespace boost typedef T type; }; }; -#elif BOOST_WORKAROUND(BOOST_MSVC,==1400) +#elif BOOST_WORKAROUND(BOOST_MSVC,>=1400) struct msvc_extract_type_default_param {}; template @@ -153,7 +153,7 @@ namespace boost }; }; # endif -# if BOOST_WORKAROUND(BOOST_MSVC,>=1310) +# if BOOST_WORKAROUND(BOOST_MSVC,==1310) template struct msvc_typeid_wrapper { typedef typename msvc_extract_type::id2type id2type; @@ -184,6 +184,7 @@ namespace boost template msvc_register_type typeof_register_type(const T&); + # define BOOST_TYPEOF(expr) \ boost::type_of::msvc_typeid_wrapper::type @@ -239,10 +240,18 @@ struct name {\ { typedef char(*type)[encode_type::value]; }; +# if BOOST_WORKAROUND(BOOST_MSVC,>=1310) + template typename disable_if< + typename is_function::type, + typename sizer::type>::type encode_start(T const&); + template typename enable_if< + typename is_function::type, + typename sizer::type>::type encode_start(T&); +# else template typename sizer::type encode_start(T const&); - +# endif template msvc_register_type typeof_register_type(const T&,Organizer* =0); diff --git a/include/boost/typeof/native.hpp b/include/boost/typeof/native.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/pointers_data_members.hpp b/include/boost/typeof/pointers_data_members.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/register_functions.hpp b/include/boost/typeof/register_functions.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/register_functions_iterate.hpp b/include/boost/typeof/register_functions_iterate.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/register_fundamental.hpp b/include/boost/typeof/register_fundamental.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/register_mem_functions.hpp b/include/boost/typeof/register_mem_functions.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/bitset.hpp b/include/boost/typeof/std/bitset.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/complex.hpp b/include/boost/typeof/std/complex.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/deque.hpp b/include/boost/typeof/std/deque.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/fstream.hpp b/include/boost/typeof/std/fstream.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/functional.hpp b/include/boost/typeof/std/functional.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/iostream.hpp b/include/boost/typeof/std/iostream.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/istream.hpp b/include/boost/typeof/std/istream.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/iterator.hpp b/include/boost/typeof/std/iterator.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/list.hpp b/include/boost/typeof/std/list.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/locale.hpp b/include/boost/typeof/std/locale.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/map.hpp b/include/boost/typeof/std/map.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/memory.hpp b/include/boost/typeof/std/memory.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/ostream.hpp b/include/boost/typeof/std/ostream.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/queue.hpp b/include/boost/typeof/std/queue.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/set.hpp b/include/boost/typeof/std/set.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/sstream.hpp b/include/boost/typeof/std/sstream.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/stack.hpp b/include/boost/typeof/std/stack.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/streambuf.hpp b/include/boost/typeof/std/streambuf.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/string.hpp b/include/boost/typeof/std/string.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/utility.hpp b/include/boost/typeof/std/utility.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/valarray.hpp b/include/boost/typeof/std/valarray.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/std/vector.hpp b/include/boost/typeof/std/vector.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/template_encoding.hpp b/include/boost/typeof/template_encoding.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/template_template_param.hpp b/include/boost/typeof/template_template_param.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/type_encoding.hpp b/include/boost/typeof/type_encoding.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/type_template_param.hpp b/include/boost/typeof/type_template_param.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/typeof_impl.hpp b/include/boost/typeof/typeof_impl.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/vector.hpp b/include/boost/typeof/vector.hpp old mode 100755 new mode 100644 index 9fc4dde..7dc8d50 --- a/include/boost/typeof/vector.hpp +++ b/include/boost/typeof/vector.hpp @@ -138,9 +138,12 @@ namespace boost { namespace type_of { namespace boost { namespace type_of { +# if BOOST_TYPEOF_LIMIT_SIZE < 50 template struct push_back { typedef V type; - }; //default behaviour is to let push_back ignore T, and return the input vector. + }; +# endif + //default behaviour is to let push_back ignore T, and return the input vector. //This is to let BOOST_TYPEOF_NESTED_TYPEDEF work properly with the default vector. # define BOOST_PP_LOCAL_MACRO BOOST_TYPEOF_spec_push_back # define BOOST_PP_LOCAL_LIMITS \ diff --git a/include/boost/typeof/vector100.hpp b/include/boost/typeof/vector100.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/vector150.hpp b/include/boost/typeof/vector150.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/vector200.hpp b/include/boost/typeof/vector200.hpp old mode 100755 new mode 100644 diff --git a/include/boost/typeof/vector50.hpp b/include/boost/typeof/vector50.hpp old mode 100755 new mode 100644 diff --git a/index.html b/index.html old mode 100755 new mode 100644 diff --git a/test/data_member.cpp b/test/data_member.cpp old mode 100755 new mode 100644 diff --git a/test/function.cpp b/test/function.cpp old mode 100755 new mode 100644 diff --git a/test/function_binding.cpp b/test/function_binding.cpp old mode 100755 new mode 100644 diff --git a/test/function_ptr.cpp b/test/function_ptr.cpp old mode 100755 new mode 100644 diff --git a/test/function_ptr_from_tpl.cpp b/test/function_ptr_from_tpl.cpp old mode 100755 new mode 100644 diff --git a/test/function_ref.cpp b/test/function_ref.cpp old mode 100755 new mode 100644 diff --git a/test/member_function.cpp b/test/member_function.cpp old mode 100755 new mode 100644 diff --git a/test/modifiers.cpp b/test/modifiers.cpp old mode 100755 new mode 100644 diff --git a/test/noncopyable.cpp b/test/noncopyable.cpp old mode 100755 new mode 100644 diff --git a/test/odr.hpp b/test/odr.hpp old mode 100755 new mode 100644 diff --git a/test/odr1.cpp b/test/odr1.cpp old mode 100755 new mode 100644 diff --git a/test/odr2.cpp b/test/odr2.cpp old mode 100755 new mode 100644 diff --git a/test/odr_no_uns1.cpp b/test/odr_no_uns1.cpp old mode 100755 new mode 100644 diff --git a/test/odr_no_uns1.hpp b/test/odr_no_uns1.hpp old mode 100755 new mode 100644 diff --git a/test/odr_no_uns2.cpp b/test/odr_no_uns2.cpp old mode 100755 new mode 100644 diff --git a/test/odr_no_uns2.hpp b/test/odr_no_uns2.hpp old mode 100755 new mode 100644 diff --git a/test/std.cpp b/test/std.cpp old mode 100755 new mode 100644 diff --git a/test/template_dependent.cpp b/test/template_dependent.cpp old mode 100755 new mode 100644 diff --git a/test/template_enum.cpp b/test/template_enum.cpp old mode 100755 new mode 100644 diff --git a/test/template_int.cpp b/test/template_int.cpp old mode 100755 new mode 100644 diff --git a/test/template_multiword.cpp b/test/template_multiword.cpp old mode 100755 new mode 100644 diff --git a/test/template_tpl.cpp b/test/template_tpl.cpp old mode 100755 new mode 100644 diff --git a/test/template_type.cpp b/test/template_type.cpp old mode 100755 new mode 100644 diff --git a/test/test.hpp b/test/test.hpp old mode 100755 new mode 100644 diff --git a/test/type.cpp b/test/type.cpp old mode 100755 new mode 100644 diff --git a/tools/preprocess.pl b/tools/preprocess.pl index a21e98a..56f50c5 100644 --- a/tools/preprocess.pl +++ b/tools/preprocess.pl @@ -1,7 +1,7 @@ # // (C) Copyright Tobias Schwinger # // # // Use modification and distribution are subject to the boost Software License -# // Version 1.0. (See http:/\/www.boost.org/LICENSE_1_0.txt). +# // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). # // Preprocess and run this script. # //