|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67728 - in trunk: boost/type_traits libs/type_traits/doc libs/type_traits/test
From: john_at_[hidden]
Date: 2011-01-06 12:09:20
Author: johnmaddock
Date: 2011-01-06 12:09:17 EST (Thu, 06 Jan 2011)
New Revision: 67728
URL: http://svn.boost.org/trac/boost/changeset/67728
Log:
Fix inspection report issues.
Text files modified:
trunk/boost/type_traits/function_traits.hpp | 2 +-
trunk/boost/type_traits/is_const.hpp | 6 +++---
trunk/boost/type_traits/is_volatile.hpp | 6 +++---
trunk/boost/type_traits/remove_cv.hpp | 4 ++--
trunk/boost/type_traits/remove_reference.hpp | 4 ++--
trunk/libs/type_traits/doc/common_type.qbk | 8 ++++++++
trunk/libs/type_traits/doc/conditional.qbk | 6 ++++++
trunk/libs/type_traits/test/common_type_fail.cpp | 3 +--
trunk/libs/type_traits/test/is_virtual_base_of_test.cpp | 8 ++++----
9 files changed, 30 insertions(+), 17 deletions(-)
Modified: trunk/boost/type_traits/function_traits.hpp
==============================================================================
--- trunk/boost/type_traits/function_traits.hpp (original)
+++ trunk/boost/type_traits/function_traits.hpp 2011-01-06 12:09:17 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: trunk/boost/type_traits/is_const.hpp
==============================================================================
--- trunk/boost/type_traits/is_const.hpp (original)
+++ trunk/boost/type_traits/is_const.hpp 2011-01-06 12:09:17 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: trunk/boost/type_traits/is_volatile.hpp
==============================================================================
--- trunk/boost/type_traits/is_volatile.hpp (original)
+++ trunk/boost/type_traits/is_volatile.hpp 2011-01-06 12:09:17 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: trunk/boost/type_traits/remove_cv.hpp
==============================================================================
--- trunk/boost/type_traits/remove_cv.hpp (original)
+++ trunk/boost/type_traits/remove_cv.hpp 2011-01-06 12:09:17 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: trunk/boost/type_traits/remove_reference.hpp
==============================================================================
--- trunk/boost/type_traits/remove_reference.hpp (original)
+++ trunk/boost/type_traits/remove_reference.hpp 2011-01-06 12:09:17 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: trunk/libs/type_traits/doc/common_type.qbk
==============================================================================
--- trunk/libs/type_traits/doc/common_type.qbk (original)
+++ trunk/libs/type_traits/doc/common_type.qbk 2011-01-06 12:09:17 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: trunk/libs/type_traits/doc/conditional.qbk
==============================================================================
--- trunk/libs/type_traits/doc/conditional.qbk (original)
+++ trunk/libs/type_traits/doc/conditional.qbk 2011-01-06 12:09:17 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: trunk/libs/type_traits/test/common_type_fail.cpp
==============================================================================
--- trunk/libs/type_traits/test/common_type_fail.cpp (original)
+++ trunk/libs/type_traits/test/common_type_fail.cpp 2011-01-06 12:09:17 EST (Thu, 06 Jan 2011)
@@ -24,5 +24,4 @@
typedef tt::common_type<C1, C2>::type AC;
-
-
\ No newline at end of file
+
Modified: trunk/libs/type_traits/test/is_virtual_base_of_test.cpp
==============================================================================
--- trunk/libs/type_traits/test/is_virtual_base_of_test.cpp (original)
+++ trunk/libs/type_traits/test/is_virtual_base_of_test.cpp 2011-01-06 12:09:17 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