Added tests for BOOST_NO_STD_ITERATOR_TRAITS

[SVN r14654]
This commit is contained in:
John Maddock
2002-07-31 11:25:25 +00:00
parent 351d4ecb15
commit 1ea4140d56
4 changed files with 13 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ int main(int, char*[])
{
char letters_[] = "hello world!";
const int N = sizeof(letters_)/sizeof(char) - 1;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
#ifdef BOOST_NO_STD_ITERATOR_TRAITS
// Assume there won't be proper iterator traits for pointers. This
// is just a wrapper for char* which has the right traits.
typedef boost::iterator_adaptor<char*, boost::default_iterator_policies, char> base_iterator;