diff --git a/include/boost/range/detail/any_iterator.hpp b/include/boost/range/detail/any_iterator.hpp index 42991cc..b45058e 100644 --- a/include/boost/range/detail/any_iterator.hpp +++ b/include/boost/range/detail/any_iterator.hpp @@ -558,7 +558,7 @@ namespace boost } // If this is a non-null iterator then we need to put - // a clone of this iterators impementation into the other + // a clone of this iterators implementation into the other // iterator. // We can't just swap because of the small buffer optimization. if (m_impl) diff --git a/include/boost/range/detail/collection_traits_detail.hpp b/include/boost/range/detail/collection_traits_detail.hpp old mode 100755 new mode 100644 index 44fbde0..93652b5 --- a/include/boost/range/detail/collection_traits_detail.hpp +++ b/include/boost/range/detail/collection_traits_detail.hpp @@ -208,7 +208,7 @@ namespace boost { // array traits ( no partial specialization ) /* - without parial specialization we are able to + without partial specialization we are able to provide support only for a limited number of types. Currently the primitive numeric types are supported @@ -324,14 +324,14 @@ namespace boost { #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - // array lenght resolving + // array length resolving /* Lenght of string contained in a static array could be different from the size of the array. - For string processing we need the lenght without + For string processing we need the length without terminating 0. - Therefore, the lenght is calulated for char and wchar_t + Therefore, the length is calculated for char and wchar_t using char_traits, rather then simply returning the array size. */ diff --git a/include/boost/range/empty.hpp b/include/boost/range/empty.hpp old mode 100755 new mode 100644 index 78c4e85..36e58d7 --- a/include/boost/range/empty.hpp +++ b/include/boost/range/empty.hpp @@ -28,7 +28,7 @@ namespace boost return boost::begin( r ) == boost::end( r ); } -} // namepace 'boost' +} // namespace 'boost' #endif diff --git a/include/boost/range/irange.hpp b/include/boost/range/irange.hpp index 3b5a6cc..248124f 100644 --- a/include/boost/range/irange.hpp +++ b/include/boost/range/irange.hpp @@ -100,7 +100,7 @@ namespace boost // While this design is less performant than some less // safe alternatives, the use of ranges and iterators to // perform counting will never be optimal anyhow, hence - // if optimal performance is desired a handcoded loop + // if optimal performance is desired a hand-coded loop // is the solution. template class integer_iterator_with_step diff --git a/include/boost/range/iterator_range_io.hpp b/include/boost/range/iterator_range_io.hpp old mode 100755 new mode 100644 index 51e3a4f..8c29400 --- a/include/boost/range/iterator_range_io.hpp +++ b/include/boost/range/iterator_range_io.hpp @@ -48,7 +48,7 @@ namespace boost //! iterator_range output operator /*! - Output the range to an ostream. Elements are outputed + Output the range to an ostream. Elements are outputted in a sequence without separators. */ template< typename IteratorT, typename Elem, typename Traits > @@ -67,7 +67,7 @@ namespace boost //! iterator_range output operator /*! - Output the range to an ostream. Elements are outputed + Output the range to an ostream. Elements are outputted in a sequence without separators. */ template< typename IteratorT > diff --git a/test/adaptor_test/strided.cpp b/test/adaptor_test/strided.cpp index 1198a10..aa80068 100644 --- a/test/adaptor_test/strided.cpp +++ b/test/adaptor_test/strided.cpp @@ -9,7 +9,7 @@ // For more information, see http://www.boost.org/libs/range/ // // The strided_defect_Trac5014 test case is a modified version of a test case -// contribued by Michel Morin as part of the trac ticket. +// contributed by Michel Morin as part of the trac ticket. // #include diff --git a/test/adl_conformance.cpp b/test/adl_conformance.cpp index 277c183..8bae491 100644 --- a/test/adl_conformance.cpp +++ b/test/adl_conformance.cpp @@ -11,7 +11,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/algorithm_example.cpp b/test/algorithm_example.cpp old mode 100755 new mode 100644 index 85e2b22..80c7875 --- a/test/algorithm_example.cpp +++ b/test/algorithm_example.cpp @@ -11,7 +11,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif @@ -27,7 +27,7 @@ namespace { // - // example: extrating bounds in a generic algorithm + // example: extracting bounds in a generic algorithm // template< typename Range, typename T > inline typename boost::range_iterator::type diff --git a/test/algorithm_ext_test/push_front.cpp b/test/algorithm_ext_test/push_front.cpp index a5f5fb9..071a7ce 100644 --- a/test/algorithm_ext_test/push_front.cpp +++ b/test/algorithm_ext_test/push_front.cpp @@ -43,7 +43,7 @@ namespace BOOST_CHECK_EQUAL_COLLECTIONS( reference.begin(), reference.end(), test.begin(), test.end() ); - // copy the orignal reference sequence + // copy the original reference sequence Container reference_copy(reference); std::transform(reference.begin(), reference.end(), reference.begin(), DoubleValue()); diff --git a/test/array.cpp b/test/array.cpp old mode 100755 new mode 100644 index b438dce..b913fde --- a/test/array.cpp +++ b/test/array.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/begin.cpp b/test/begin.cpp index bbc11c1..f014535 100644 --- a/test/begin.cpp +++ b/test/begin.cpp @@ -11,7 +11,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/const_ranges.cpp b/test/const_ranges.cpp index cd0b06a..22bf83c 100644 --- a/test/const_ranges.cpp +++ b/test/const_ranges.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/end.cpp b/test/end.cpp index 3e989ff..c885555 100644 --- a/test/end.cpp +++ b/test/end.cpp @@ -11,7 +11,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/extension_mechanism.cpp b/test/extension_mechanism.cpp index 9e9891a..b8b7112 100644 --- a/test/extension_mechanism.cpp +++ b/test/extension_mechanism.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/extension_size.cpp b/test/extension_size.cpp index b6f15cd..6c7157f 100644 --- a/test/extension_size.cpp +++ b/test/extension_size.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/iterator_pair.cpp b/test/iterator_pair.cpp index 495bd6f..997b5fb 100644 --- a/test/iterator_pair.cpp +++ b/test/iterator_pair.cpp @@ -11,7 +11,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/iterator_range.cpp b/test/iterator_range.cpp index 1d9539b..a53ef16 100644 --- a/test/iterator_range.cpp +++ b/test/iterator_range.cpp @@ -13,7 +13,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif @@ -235,7 +235,7 @@ boost::unit_test::test_suite* init_unit_test_suite( int argc, char* argv[] ) // // -// Check that constness is propgated correct from +// Check that constness is propagated correct from // the iterator types. // // Test contributed by Larry Evans. diff --git a/test/partial_workaround.cpp b/test/partial_workaround.cpp index 76d902f..edaae71 100644 --- a/test/partial_workaround.cpp +++ b/test/partial_workaround.cpp @@ -14,7 +14,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/reversible_range.cpp b/test/reversible_range.cpp index 98cc423..a3dd20c 100644 --- a/test/reversible_range.cpp +++ b/test/reversible_range.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/std_container.cpp b/test/std_container.cpp index 9b8f284..75a584f 100644 --- a/test/std_container.cpp +++ b/test/std_container.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/string.cpp b/test/string.cpp index f838519..9ff13f9 100644 --- a/test/string.cpp +++ b/test/string.cpp @@ -13,7 +13,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif diff --git a/test/sub_range.cpp b/test/sub_range.cpp index 80c942f..e0a8330 100644 --- a/test/sub_range.cpp +++ b/test/sub_range.cpp @@ -12,7 +12,7 @@ #include #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) -# pragma warn -8091 // supress warning in Boost.Test +# pragma warn -8091 // suppress warning in Boost.Test # pragma warn -8057 // unused argument argc/argv in Boost.Test #endif