Files
iterator/test/is_convertible_fail.cpp
Dave Abrahams aa0a32aa33 fixes and cleanups
[SVN r1141]
2003-04-10 13:40:42 +00:00

12 lines
316 B
C++

#include <boost/iterator/reverse_iterator.hpp>
#include <boost/cstdlib.hpp>
int main()
{
typedef boost::reverse_iterator<int*> rev_iter1;
typedef boost::reverse_iterator<char*> rev_iter2;
return boost::is_convertible<rev_iter1, rev_iter2>::value
? boost::exit_failure : boost::exit_success;
}