fixes and cleanups

[SVN r1141]
This commit is contained in:
Dave Abrahams
2003-04-10 13:40:42 +00:00
parent c1e5d7e331
commit aa0a32aa33
13 changed files with 218 additions and 137 deletions
+2 -6
View File
@@ -1,15 +1,11 @@
#include <boost/iterator/reverse_iterator.hpp>
#include <boost/static_assert.hpp>
#include <boost/cstdlib.hpp>
int main()
{
{
typedef boost::reverse_iterator<int*> rev_iter1;
typedef boost::reverse_iterator<char*> rev_iter2;
BOOST_STATIC_ASSERT((boost::is_convertible<rev_iter1, rev_iter2>::value));
}
return boost::exit_success;
return boost::is_convertible<rev_iter1, rev_iter2>::value
? boost::exit_failure : boost::exit_success;
}