diff --git a/include/boost/typeof/increment_registration_group.hpp b/include/boost/typeof/incr_registration_group.hpp similarity index 100% rename from include/boost/typeof/increment_registration_group.hpp rename to include/boost/typeof/incr_registration_group.hpp diff --git a/include/boost/typeof/native.hpp b/include/boost/typeof/native.hpp index f4a70c8..fbb4758 100755 --- a/include/boost/typeof/native.hpp +++ b/include/boost/typeof/native.hpp @@ -25,7 +25,7 @@ namespace boost { namespace type_of { # ifdef BOOST_NO_SFINAE template T& ensure_obj(const T&); -# else +# else template typename enable_if, T&>::type ensure_obj(T&); diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp index 10d8a0a..7228b5c 100755 --- a/include/boost/typeof/typeof.hpp +++ b/include/boost/typeof/typeof.hpp @@ -122,7 +122,7 @@ BOOST_TYPEOF_REGISTRATION_GROUP * 0x10000 + __LINE__ #define BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()\ - + #ifdef BOOST_TYPEOF_EMULATION # define BOOST_TYPEOF_TEXT "using typeof emulation" diff --git a/index.html b/index.html index c215f0c..0ba1c8c 100755 --- a/index.html +++ b/index.html @@ -1,3 +1,9 @@ + + diff --git a/test/Jamfile b/test/Jamfile index 2ed41c2..6777ae0 100755 --- a/test/Jamfile +++ b/test/Jamfile @@ -1,3 +1,7 @@ +# Copyright (C) 2006 Arkadiy Vertleyb +# Use, modification and distribution is subject to the Boost Software +# License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + # Boost Typeof Library test Jamfile subproject libs/typeof/test ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 4cf201d..28d7beb 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -1,3 +1,8 @@ +# Copyright (C) 2006 Vladimir Prus +# Copyright (C) 2006 Arkadiy Vertleyb +# Use, modification and distribution is subject to the Boost Software +# License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + # Boost Typeof Library test Jamfile import set ; diff --git a/test/data_member.cpp b/test/data_member.cpp index 4fd7ab4..b8fdc3a 100755 --- a/test/data_member.cpp +++ b/test/data_member.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/function.cpp b/test/function.cpp index 7ccda62..86a4df2 100755 --- a/test/function.cpp +++ b/test/function.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" BOOST_STATIC_ASSERT(boost::type_of::test::value); diff --git a/test/function_binding.cpp b/test/function_binding.cpp index 4bee3a9..8ad1cf2 100755 --- a/test/function_binding.cpp +++ b/test/function_binding.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include #include #include diff --git a/test/function_ptr.cpp b/test/function_ptr.cpp index be08c11..c6babfb 100755 --- a/test/function_ptr.cpp +++ b/test/function_ptr.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" BOOST_STATIC_ASSERT(boost::type_of::test::value); diff --git a/test/function_ptr_from_tpl.cpp b/test/function_ptr_from_tpl.cpp index 28986d1..7b880a2 100755 --- a/test/function_ptr_from_tpl.cpp +++ b/test/function_ptr_from_tpl.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include #include #include diff --git a/test/function_ref.cpp b/test/function_ref.cpp index bc9f6ec..b524e2a 100755 --- a/test/function_ref.cpp +++ b/test/function_ref.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" BOOST_STATIC_ASSERT(boost::type_of::test::value); diff --git a/test/member_function.cpp b/test/member_function.cpp index 2e08a15..a7fbd9f 100755 --- a/test/member_function.cpp +++ b/test/member_function.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" BOOST_STATIC_ASSERT(boost::type_of::test::value); diff --git a/test/modifiers.cpp b/test/modifiers.cpp index f67d5c9..8c44233 100755 --- a/test/modifiers.cpp +++ b/test/modifiers.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/nested_typedef.cpp b/test/nested_typedef.cpp index 129307e..7eee2eb 100644 --- a/test/nested_typedef.cpp +++ b/test/nested_typedef.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Peder Holt +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include #include #include diff --git a/test/noncopyable.cpp b/test/noncopyable.cpp index 687c782..833fbf0 100755 --- a/test/noncopyable.cpp +++ b/test/noncopyable.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/odr.hpp b/test/odr.hpp index 0f0f315..3eccc35 100755 --- a/test/odr.hpp +++ b/test/odr.hpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include struct foo diff --git a/test/odr1.cpp b/test/odr1.cpp index a11657c..5d36d6d 100755 --- a/test/odr1.cpp +++ b/test/odr1.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "odr.hpp" #include diff --git a/test/odr2.cpp b/test/odr2.cpp index aebd7c3..abfc291 100755 --- a/test/odr2.cpp +++ b/test/odr2.cpp @@ -1 +1,5 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "odr.hpp" diff --git a/test/odr_no_uns1.cpp b/test/odr_no_uns1.cpp index 3baf343..55ea970 100755 --- a/test/odr_no_uns1.cpp +++ b/test/odr_no_uns1.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "odr_no_uns1.hpp" #include "odr_no_uns2.hpp" diff --git a/test/odr_no_uns1.hpp b/test/odr_no_uns1.hpp index fb65470..9c02490 100755 --- a/test/odr_no_uns1.hpp +++ b/test/odr_no_uns1.hpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #ifndef BOOST_TYPEOF_ODR_NO_UNS1_HPP_INCLUDED #define BOOST_TYPEOF_ODR_NO_UNS1_HPP_INCLUDED diff --git a/test/odr_no_uns2.cpp b/test/odr_no_uns2.cpp index e664787..9d35aef 100755 --- a/test/odr_no_uns2.cpp +++ b/test/odr_no_uns2.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "odr_no_uns2.hpp" #include "odr_no_uns1.hpp" diff --git a/test/odr_no_uns2.hpp b/test/odr_no_uns2.hpp index 5c41c94..2dad7d5 100755 --- a/test/odr_no_uns2.hpp +++ b/test/odr_no_uns2.hpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #ifndef BOOST_TYPEOF_ODR_NO_UNS2_HPP_INCLUDED #define BOOST_TYPEOF_ODR_NO_UNS2_HPP_INCLUDED diff --git a/test/std.cpp b/test/std.cpp index 1cce1d2..e6bfdaf 100755 --- a/test/std.cpp +++ b/test/std.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include diff --git a/test/template_dependent.cpp b/test/template_dependent.cpp index 462a1ee..da5a045 100755 --- a/test/template_dependent.cpp +++ b/test/template_dependent.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/template_enum.cpp b/test/template_enum.cpp index db72917..0e72a98 100755 --- a/test/template_enum.cpp +++ b/test/template_enum.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/template_int.cpp b/test/template_int.cpp index 9ed0919..92ee3e9 100755 --- a/test/template_int.cpp +++ b/test/template_int.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include diff --git a/test/template_multiword.cpp b/test/template_multiword.cpp index d4e9e0b..65ea15c 100755 --- a/test/template_multiword.cpp +++ b/test/template_multiword.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/template_tpl.cpp b/test/template_tpl.cpp index 84227cb..40d85fc 100755 --- a/test/template_tpl.cpp +++ b/test/template_tpl.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/template_type.cpp b/test/template_type.cpp index f7d0e96..e4ece64 100755 --- a/test/template_type.cpp +++ b/test/template_type.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() diff --git a/test/type.cpp b/test/type.cpp index 50fcdb2..5d372b8 100755 --- a/test/type.cpp +++ b/test/type.cpp @@ -1,3 +1,7 @@ +// Copyright (C) 2006 Arkadiy Vertleyb +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) + #include "test.hpp" #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()