|
Boost.Range |
Upgrading from Boost v. 1.34.*
Boost v. 1.35 introduced some larger refactorings of the library:
- Direct support for character arrays was abandoned in favor of
uniform treatment of all arrays. Instead string algorithms can use
the new function as_literal().
- boost::size() now requires a Random Access Range. The old behavior is provided as boost::distance()
-
range_size<T>::type has been completely removed
in favor of range_difference<T>::type
-
boost_range_begin() and boost_range_end()
have been renamed range_begin() and range_begin() , respectively.
range_result_iterator<T>::type and
range_reverse_result_iterator<T>::type are have
been renamed
range_iterator<T>::type and
range_reverse_iterator<T>::type .
- The procedure that makes a custom type work with the library
has been greatly simplified. See extending the library
for details.
© Copyright Thorsten Ottosen 2008.
Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
|