? A ? ChangeLog ? container_algo.hpp.diff ? log Index: container_algo.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/sequence_algo/container_algo.hpp,v retrieving revision 1.22 diff -u -r1.22 container_algo.hpp --- container_algo.hpp 13 Sep 2003 14:36:05 -0000 1.22 +++ container_algo.hpp 17 Oct 2003 13:10:00 -0000 @@ -108,14 +108,14 @@ { template< typename C, typename T > inline typename container_traits::iterator - find_impl( C& c, const T& value, associative_container_tag ) + find_impl( C& c, const T& value, associative_container_tag* ) { return c.find( value ); } template< typename C, typename T > inline typename container_traits::const_iterator - find_impl( const C& c, const T& value, associative_container_tag ) + find_impl( const C& c, const T& value, associative_container_tag* ) { return c.find( value ); } @@ -140,7 +140,7 @@ find( Container& c, const T& value ) { return detail::find_impl( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } template< typename Container, typename T > @@ -148,7 +148,7 @@ find( const Container& c, const T& value ) { return detail::find_impl( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } @@ -245,7 +245,7 @@ { template< typename Container, typename T > inline typename container_traits::difference_type - count_impl( const Container& c, const T& value, associative_container_tag ) + count_impl( const Container& c, const T& value, associative_container_tag* ) { return c.count( value ); } @@ -263,7 +263,7 @@ count( const Container& c, const T& value ) { return detail::count_impl( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } @@ -583,7 +583,7 @@ { template< typename C, typename T > inline typename container_traits::iterator - remove_impl( C& c, const T& t, list_tag ) + remove_impl( C& c, const T& t, list_tag* ) { c.remove( t ); return c.end(); @@ -598,7 +598,7 @@ template< typename C, typename BP > inline typename container_traits::iterator - remove_if_impl( C& c, BP bp, list_tag ) + remove_if_impl( C& c, BP bp, list_tag* ) { c.remove_if( bp ); return c.end(); @@ -654,7 +654,7 @@ { template< typename C > inline typename container_traits::iterator - unique_impl( C& c, list_tag ) + unique_impl( C& c, list_tag* ) { c.unique(); return c.end(); @@ -669,7 +669,7 @@ template< typename C, typename BP > inline typename container_traits::iterator - unique_impl2( C& c, BP bp , list_tag ) + unique_impl2( C& c, BP bp , list_tag* ) { c.unique( bp ); return c.end(); @@ -689,7 +689,7 @@ inline typename container_traits::iterator unique( Container& c ) { - return detail::unique_impl( c, container_traits::container_id() ); + return detail::unique_impl( c, (typename container_traits::container_id*)0 ); } template< typename Container, typename BinaryPredicate > @@ -697,7 +697,7 @@ unique( Container& c, BinaryPredicate pred ) { return detail::unique_impl2( c, pred, - container_traits::container_id() ); + (typename container_traits::container_id*)0 ); } @@ -725,7 +725,7 @@ { template< typename C > inline void - reverse_impl( C& c, list_tag ) + reverse_impl( C& c, list_tag* ) { c.reverse(); } @@ -806,13 +806,13 @@ namespace detail { template< typename C > - inline void sort_impl( C& c, list_tag ) + inline void sort_impl( C& c, list_tag* ) { c.sort(); } template< typename C, typename Comp > - inline void sort_impl2( C& c, Comp comp, list_tag ) + inline void sort_impl2( C& c, Comp comp, list_tag* ) { c.sort( comp ); } @@ -931,14 +931,14 @@ { template< typename Container, typename T > inline typename container_traits::iterator - lower_bound( Container& c, const T& value, associative_container_tag ) + lower_bound( Container& c, const T& value, associative_container_tag* ) { return c.lower_bound( value ); } template< typename Container, typename T > inline typename container_traits::const_iterator - lower_bound( const Container& c, const T& value, associative_container_tag ) + lower_bound( const Container& c, const T& value, associative_container_tag* ) { return c.lower_bound( value ); } @@ -963,7 +963,7 @@ lower_bound( Container& c, const T& value ) { return detail::lower_bound( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } template< typename Container, typename T > @@ -971,7 +971,8 @@ lower_bound( const Container& c, const T& value ) { return detail::lower_bound( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); + } namespace ext @@ -997,14 +998,14 @@ { template< typename Container, typename T > inline typename container_traits::iterator - upper_bound( Container& c, const T& value, associative_container_tag ) + upper_bound( Container& c, const T& value, associative_container_tag* ) { return c.upper_bound( value ); } template< typename Container, typename T > inline typename container_traits::const_iterator - upper_bound( const Container& c, const T& value, associative_container_tag ) + upper_bound( const Container& c, const T& value, associative_container_tag* ) { return c.upper_bound( value ); } @@ -1029,7 +1030,7 @@ upper_bound( Container& c, const T& value ) { return detail::upper_bound( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } template< typename Container, typename T > @@ -1037,7 +1038,7 @@ upper_bound( const Container& c, const T& value ) { return detail::upper_bound( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } namespace ext @@ -1064,14 +1065,14 @@ template< typename Container, typename T > inline typename pair_return::mutable_pair - equal_range( Container& c, const T& value, associative_container_tag ) + equal_range( Container& c, const T& value, associative_container_tag* ) { return c.equal_range( value ); } template< typename Container, typename T > inline typename pair_return::const_pair - equal_range( const Container& c, const T& value, associative_container_tag ) + equal_range( const Container& c, const T& value, associative_container_tag* ) { return c.equal_range( value ); } @@ -1096,7 +1097,7 @@ equal_range( Container& c, const T& value ) { return detail::equal_range( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } template< typename Container, typename T > @@ -1104,7 +1105,7 @@ equal_range( const Container& c, const T& value ) { return detail::equal_range( c, value, - container_traits::container_category() ); + (typename container_traits::container_category*)0 ); } namespace ext