Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51636 - in trunk/boost/signals2: . detail
From: fmhess_at_[hidden]
Date: 2009-03-06 11:17:16


Author: fmhess
Date: 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
New Revision: 51636
URL: http://svn.boost.org/trac/boost/changeset/51636

Log:
some inspect cleanups (mostly getting rid of tabs).

Text files modified:
   trunk/boost/signals2/deconstruct.hpp | 8 ++++----
   trunk/boost/signals2/detail/signal_template.hpp | 3 ++-
   trunk/boost/signals2/detail/signals_common_macros.hpp | 2 +-
   trunk/boost/signals2/detail/stack_allocator.hpp | 22 +++++++++++-----------
   trunk/boost/signals2/detail/stack_vector.hpp | 4 ++--
   trunk/boost/signals2/signal.hpp | 2 +-
   trunk/boost/signals2/signal_type.hpp | 2 +-
   7 files changed, 22 insertions(+), 21 deletions(-)

Modified: trunk/boost/signals2/deconstruct.hpp
==============================================================================
--- trunk/boost/signals2/deconstruct.hpp (original)
+++ trunk/boost/signals2/deconstruct.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -472,7 +472,7 @@
 
 template< class T > postconstructor_invoker<T> deconstruct()
 {
- return deconstruct_access::deconstruct<T>();
+ return deconstruct_access::deconstruct<T>();
 }
 
 #if defined( BOOST_HAS_VARIADIC_TMPL ) && defined( BOOST_HAS_RVALUE_REFS )
@@ -491,19 +491,19 @@
 template< class T, class A1 >
 postconstructor_invoker<T> deconstruct( A1 const & a1 )
 {
- return deconstruct_access::deconstruct<T>(a1);
+ return deconstruct_access::deconstruct<T>(a1);
 }
 
 template< class T, class A1, class A2 >
 postconstructor_invoker<T> deconstruct( A1 const & a1, A2 const & a2 )
 {
- return deconstruct_access::deconstruct<T>(a1,a2);
+ return deconstruct_access::deconstruct<T>(a1,a2);
 }
 
 template< class T, class A1, class A2, class A3 >
 postconstructor_invoker<T> deconstruct( A1 const & a1, A2 const & a2, A3 const & a3 )
 {
- return deconstruct_access::deconstruct<T>(a1,a2,a3);
+ return deconstruct_access::deconstruct<T>(a1,a2,a3);
 }
 
 template< class T, class A1, class A2, class A3, class A4 >

Modified: trunk/boost/signals2/detail/signal_template.hpp
==============================================================================
--- trunk/boost/signals2/detail/signal_template.hpp (original)
+++ trunk/boost/signals2/detail/signal_template.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -2,9 +2,10 @@
   Template for Signa1, Signal2, ... classes that support signals
   with 1, 2, ... parameters
 
- Author: Frank Mori Hess <fmhess_at_[hidden]>
   Begin: 2007-01-23
 */
+// Copyright Frank Mori Hess 2007-2008
+//
 // Use, modification and
 // distribution is subject to the Boost Software License, Version
 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at

Modified: trunk/boost/signals2/detail/signals_common_macros.hpp
==============================================================================
--- trunk/boost/signals2/detail/signals_common_macros.hpp (original)
+++ trunk/boost/signals2/detail/signals_common_macros.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -61,4 +61,4 @@
   typename function_traits<Signature>::result_type \
   BOOST_PP_COMMA_IF(arity) BOOST_PP_ENUM(arity, BOOST_SIGNALS2_SIGNATURE_TO_ARGN_TYPE, Signature)
 
-#endif // BOOST_SIGNALS2_SIGNALS_COMMON_MACROS_HPP
+#endif // BOOST_SIGNALS2_SIGNALS_COMMON_MACROS_HPP

Modified: trunk/boost/signals2/detail/stack_allocator.hpp
==============================================================================
--- trunk/boost/signals2/detail/stack_allocator.hpp (original)
+++ trunk/boost/signals2/detail/stack_allocator.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -1,15 +1,15 @@
 /*
- An allocator which first allocates from the stack, before falling
- back on usual std::allocator behavior. Used by signals2 to
- optimize the vector of tracked shared_ptr created during signal
- invocation.
-
- Example usage:
-
- static const std::size_t n = 10;
- stack_storage<T, n> storage;
- stack_allocator<T, n> a(&storage);
- std::vector<T, stack_allocator<T, n> > v(a);
+ An allocator which first allocates from the stack, before falling
+ back on usual std::allocator behavior. Used by signals2 to
+ optimize the vector of tracked shared_ptr created during signal
+ invocation.
+
+ Example usage:
+
+ static const std::size_t n = 10;
+ stack_storage<T, n> storage;
+ stack_allocator<T, n> a(&storage);
+ std::vector<T, stack_allocator<T, n> > v(a);
 
 */
 // Copyright Frank Mori Hess 2008.

Modified: trunk/boost/signals2/detail/stack_vector.hpp
==============================================================================
--- trunk/boost/signals2/detail/stack_vector.hpp (original)
+++ trunk/boost/signals2/detail/stack_vector.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -1,6 +1,6 @@
 /*
- A non-copyable vector which first allocates from the stack, before falling
- back on usual std::allocator behavior.
+ A non-copyable vector which first allocates from the stack, before falling
+ back on usual std::allocator behavior.
 
 */
 // Copyright Frank Mori Hess 2008.

Modified: trunk/boost/signals2/signal.hpp
==============================================================================
--- trunk/boost/signals2/signal.hpp (original)
+++ trunk/boost/signals2/signal.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -92,4 +92,4 @@
   }
 }
 
-#endif // BOOST_SIGNALS2_SIGNAL_HPP
+#endif // BOOST_SIGNALS2_SIGNAL_HPP

Modified: trunk/boost/signals2/signal_type.hpp
==============================================================================
--- trunk/boost/signals2/signal_type.hpp (original)
+++ trunk/boost/signals2/signal_type.hpp 2009-03-06 11:17:16 EST (Fri, 06 Mar 2009)
@@ -141,4 +141,4 @@
   } // namespace signals2
 } // namespace boost
 
-#endif // BOOST_SIGNALS2_SIGNAL_TYPE_HPP
+#endif // BOOST_SIGNALS2_SIGNAL_TYPE_HPP


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