|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70442 - in trunk: boost libs/array/test
From: marshall_at_[hidden]
Date: 2011-03-22 19:55:22
Author: marshall
Date: 2011-03-22 19:55:20 EDT (Tue, 22 Mar 2011)
New Revision: 70442
URL: http://svn.boost.org/trac/boost/changeset/70442
Log:
Removed tabs
Text files modified:
trunk/boost/array.hpp | 16 ++++++++--------
trunk/libs/array/test/array6.cpp | 14 +++++++-------
2 files changed, 15 insertions(+), 15 deletions(-)
Modified: trunk/boost/array.hpp
==============================================================================
--- trunk/boost/array.hpp (original)
+++ trunk/boost/array.hpp 2011-03-22 19:55:20 EDT (Tue, 22 Mar 2011)
@@ -368,17 +368,17 @@
}
#if defined(__SUNPRO_CC)
-// Trac ticket #4757; the Sun Solaris compiler can't handle
-// syntax like 'T(&get_c_array(boost::array<T,N>& arg))[N]'
-//
-// We can't just use this for all compilers, because the
-// borland compilers can't handle this form.
- namespace detail {
+// Trac ticket #4757; the Sun Solaris compiler can't handle
+// syntax like 'T(&get_c_array(boost::array<T,N>& arg))[N]'
+//
+// We can't just use this for all compilers, because the
+// borland compilers can't handle this form.
+ namespace detail {
template <typename T, std::size_t N> struct c_array
{
typedef T type[N];
};
- }
+ }
// Specific for boost::array: simply returns its elems data member.
template <typename T, std::size_t N>
@@ -408,7 +408,7 @@
return arg.elems;
}
#endif
-
+
#if 0
// Overload for std::array, assuming that std::array will have
// explicit conversion functions as discussed at the WG21 meeting
Modified: trunk/libs/array/test/array6.cpp
==============================================================================
--- trunk/libs/array/test/array6.cpp (original)
+++ trunk/libs/array/test/array6.cpp 2011-03-22 19:55:20 EDT (Tue, 22 Mar 2011)
@@ -26,13 +26,13 @@
test_type test_case; // = { 1, 1, 2, 3, 5 };
arr &aRef = get_c_array ( test_case );
- if ( &*test_case.begin () != &aRef[0] )
- fail_test ( "Array6: Same thing not equal?(1)" );
-
- const arr &caRef = get_c_array ( test_case );
- typename test_type::const_iterator iter = test_case.begin ();
- if ( &*iter != &caRef[0] )
- fail_test ( "Array6: Same thing not equal?(2)" );
+ if ( &*test_case.begin () != &aRef[0] )
+ fail_test ( "Array6: Same thing not equal?(1)" );
+
+ const arr &caRef = get_c_array ( test_case );
+ typename test_type::const_iterator iter = test_case.begin ();
+ if ( &*iter != &caRef[0] )
+ fail_test ( "Array6: Same thing not equal?(2)" );
}
}
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