Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67729 - in branches/release: boost/type_traits libs/type_traits libs/type_traits/doc libs/type_traits/test
From: john_at_[hidden]
Date: 2011-01-06 13:14:44


Author: johnmaddock
Date: 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
New Revision: 67729
URL: http://svn.boost.org/trac/boost/changeset/67729

Log:
Fix inspection report issues.
Properties modified:
   branches/release/boost/type_traits/ (props changed)
   branches/release/libs/type_traits/ (props changed)
   branches/release/libs/type_traits/doc/ (props changed)
Text files modified:
   branches/release/boost/type_traits/function_traits.hpp | 2 +-
   branches/release/boost/type_traits/is_const.hpp | 6 +++---
   branches/release/boost/type_traits/is_volatile.hpp | 6 +++---
   branches/release/boost/type_traits/remove_cv.hpp | 4 ++--
   branches/release/boost/type_traits/remove_reference.hpp | 4 ++--
   branches/release/libs/type_traits/doc/common_type.qbk | 8 ++++++++
   branches/release/libs/type_traits/doc/conditional.qbk | 6 ++++++
   branches/release/libs/type_traits/test/common_type_fail.cpp | 3 +--
   branches/release/libs/type_traits/test/is_virtual_base_of_test.cpp | 8 ++++----
   9 files changed, 30 insertions(+), 17 deletions(-)

Modified: branches/release/boost/type_traits/function_traits.hpp
==============================================================================
--- branches/release/boost/type_traits/function_traits.hpp (original)
+++ branches/release/boost/type_traits/function_traits.hpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -166,7 +166,7 @@
 
 template<typename Function>
 struct function_traits :
- public boost::detail::function_traits_helper<typename boost::add_pointer<Function>::type>
+ public boost::detail::function_traits_helper<typename boost::add_pointer<Function>::type>
 {
 };
 

Modified: branches/release/boost/type_traits/is_const.hpp
==============================================================================
--- branches/release/boost/type_traits/is_const.hpp (original)
+++ branches/release/boost/type_traits/is_const.hpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -59,16 +59,16 @@
 struct is_const_rvalue_filter
 {
 #if BOOST_WORKAROUND(BOOST_MSVC, < 1400)
- BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<typename boost::remove_bounds<T>::type*>::is_const);
+ BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<typename boost::remove_bounds<T>::type*>::is_const);
 #else
- BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<T*>::is_const);
+ BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<T*>::is_const);
 #endif
 };
 #ifndef BOOST_NO_RVALUE_REFERENCES
 template <class T>
 struct is_const_rvalue_filter<T&&>
 {
- BOOST_STATIC_CONSTANT(bool, value = false);
+ BOOST_STATIC_CONSTANT(bool, value = false);
 };
 #endif
 }

Modified: branches/release/boost/type_traits/is_volatile.hpp
==============================================================================
--- branches/release/boost/type_traits/is_volatile.hpp (original)
+++ branches/release/boost/type_traits/is_volatile.hpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -46,9 +46,9 @@
 struct is_volatile_rval_filter
 {
 #if BOOST_WORKAROUND(BOOST_MSVC, < 1400)
- BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<typename boost::remove_bounds<T>::type*>::is_volatile);
+ BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<typename boost::remove_bounds<T>::type*>::is_volatile);
 #else
- BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<T*>::is_volatile);
+ BOOST_STATIC_CONSTANT(bool, value = ::boost::detail::cv_traits_imp<T*>::is_volatile);
 #endif
 };
 #ifndef BOOST_NO_RVALUE_REFERENCES
@@ -59,7 +59,7 @@
 template <class T>
 struct is_volatile_rval_filter<T&&>
 {
- BOOST_STATIC_CONSTANT(bool, value = false);
+ BOOST_STATIC_CONSTANT(bool, value = false);
 };
 #endif
 }

Modified: branches/release/boost/type_traits/remove_cv.hpp
==============================================================================
--- branches/release/boost/type_traits/remove_cv.hpp (original)
+++ branches/release/boost/type_traits/remove_cv.hpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -32,7 +32,7 @@
 template <class T>
 struct rvalue_ref_filter_rem_cv
 {
- typedef typename boost::detail::cv_traits_imp<T*>::unqualified_type type;
+ typedef typename boost::detail::cv_traits_imp<T*>::unqualified_type type;
 };
 
 #ifndef BOOST_NO_RVALUE_REFERENCES
@@ -43,7 +43,7 @@
 template <class T>
 struct rvalue_ref_filter_rem_cv<T&&>
 {
- typedef T&& type;
+ typedef T&& type;
 };
 #endif
 

Modified: branches/release/boost/type_traits/remove_reference.hpp
==============================================================================
--- branches/release/boost/type_traits/remove_reference.hpp (original)
+++ branches/release/boost/type_traits/remove_reference.hpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -32,13 +32,13 @@
 template <class T>
 struct remove_rvalue_ref
 {
- typedef T type;
+ typedef T type;
 };
 #ifndef BOOST_NO_RVALUE_REFERENCES
 template <class T>
 struct remove_rvalue_ref<T&&>
 {
- typedef T type;
+ typedef T type;
 };
 #endif
 

Modified: branches/release/libs/type_traits/doc/common_type.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/common_type.qbk (original)
+++ branches/release/libs/type_traits/doc/common_type.qbk 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -1,3 +1,11 @@
+[/
+ Copyright 2008 Howard Hinnant
+ Copyright 2008 Beman Dawes
+ Copyright 2010 John Maddock
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt).
+]
 
 [/===================================================================]
 [section:common_type common_type]

Modified: branches/release/libs/type_traits/doc/conditional.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/conditional.qbk (original)
+++ branches/release/libs/type_traits/doc/conditional.qbk 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -1,3 +1,9 @@
+[/
+ Copyright 2010 John Maddock.
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt).
+]
 
 [/===================================================================]
 [section:conditional conditional]

Modified: branches/release/libs/type_traits/test/common_type_fail.cpp
==============================================================================
--- branches/release/libs/type_traits/test/common_type_fail.cpp (original)
+++ branches/release/libs/type_traits/test/common_type_fail.cpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -24,5 +24,4 @@
 
 
 typedef tt::common_type<C1, C2>::type AC;
-
-
\ No newline at end of file
+

Modified: branches/release/libs/type_traits/test/is_virtual_base_of_test.cpp
==============================================================================
--- branches/release/libs/type_traits/test/is_virtual_base_of_test.cpp (original)
+++ branches/release/libs/type_traits/test/is_virtual_base_of_test.cpp 2011-01-06 13:14:42 EST (Thu, 06 Jan 2011)
@@ -28,14 +28,14 @@
 class non_virtual_base
 {
 public:
- non_virtual_base();
+ non_virtual_base();
 };
 class non_virtual_derived : public non_virtual_base
 {
 public:
- non_virtual_derived();
- virtual int Y();
- virtual int X();
+ non_virtual_derived();
+ virtual int Y();
+ virtual int X();
 };
 
 TT_TEST_BEGIN(is_virtual_base_of)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk