From e6a44cf5296249b762c9ba5ff43a2b6989f1013b Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 22 Mar 2011 23:55:20 +0000 Subject: [PATCH] Removed tabs [SVN r70442] --- include/boost/array.hpp | 16 ++++++++-------- test/array6.cpp | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index 0628c89..ffb504b 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -368,17 +368,17 @@ namespace boost { } #if defined(__SUNPRO_CC) -// Trac ticket #4757; the Sun Solaris compiler can't handle -// syntax like 'T(&get_c_array(boost::array& 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& arg))[N]' +// +// We can't just use this for all compilers, because the +// borland compilers can't handle this form. + namespace detail { template struct c_array { typedef T type[N]; }; - } + } // Specific for boost::array: simply returns its elems data member. template @@ -408,7 +408,7 @@ namespace boost { 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 diff --git a/test/array6.cpp b/test/array6.cpp index 388b39f..658cec6 100644 --- a/test/array6.cpp +++ b/test/array6.cpp @@ -26,13 +26,13 @@ void RunTests() 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)" ); } }