|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-04 05:42:22
Hello,
currently the string test fails on Tru64 CXX 7.1 006 because the compiler
(AFAIK rightly) complains about an undeclared as_literal. (See
http://tinyurl.com/26bbmd for details.) Attached patch fixes this. OK to
commit?
There also is a wide scaled breakage for the iterator_range and sub_range
tests on the trunk. Is the author aware of this?
Regards,
Markus
Index: string.cpp
===================================================================
--- string.cpp (revision 39681)
+++ string.cpp (working copy)
@@ -33,28 +33,28 @@
inline BOOST_DEDUCED_TYPENAME boost::range_iterator<T>::type
str_begin( T& r )
{
- return boost::begin( as_literal(r) );
+ return boost::begin( boost::as_literal(r) );
}
template< class T >
inline BOOST_DEDUCED_TYPENAME boost::range_iterator<T>::type
str_end( T& r )
{
- return boost::end( as_literal(r) );
+ return boost::end( boost::as_literal(r) );
}
template< class T >
inline BOOST_DEDUCED_TYPENAME boost::range_size<T>::type
str_size( const T& r )
{
- return boost::size( as_literal(r) );
+ return boost::size( boost::as_literal(r) );
}
template< class T >
inline bool
str_empty( T& r )
{
- return boost::empty( as_literal(r) );
+ return boost::empty( boost::as_literal(r) );
}
template< typename Container, typename T >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk