mirror of
				https://github.com/boostorg/config.git
				synced 2025-11-04 01:31:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//  (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
							 | 
						||
| 
								 | 
							
								//  distribute this software is granted provided this copyright notice appears
							 | 
						||
| 
								 | 
							
								//  in all copies. This software is provided "as is" without express or implied
							 | 
						||
| 
								 | 
							
								//  warranty, and with no claim as to its suitability for any purpose.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Test file for macro BOOST_NO_STD_ITERATOR_TRAITS
							 | 
						||
| 
								 | 
							
								// This file should not compile, if it does then
							 | 
						||
| 
								 | 
							
								// BOOST_NO_STD_ITERATOR_TRAITS need not be defined.
							 | 
						||
| 
								 | 
							
								// see boost_no_std_iter_traits.cxx for more details
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Do not edit this file, it was generated automatically by
							 | 
						||
| 
								 | 
							
								// ../tools/generate from boost_no_std_iter_traits.cxx on
							 | 
						||
| 
								 | 
							
								// Mon Sep 10 12:18:12  2001
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Must not have BOOST_ASSERT_CONFIG set; it defeats
							 | 
						||
| 
								 | 
							
								// the objective of this file:
							 | 
						||
| 
								 | 
							
								#ifdef BOOST_ASSERT_CONFIG
							 | 
						||
| 
								 | 
							
								#  undef BOOST_ASSERT_CONFIG
							 | 
						||
| 
								 | 
							
								#endif
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <boost/config.hpp>
							 | 
						||
| 
								 | 
							
								#include <boost/test/cpp_main.cpp>
							 | 
						||
| 
								 | 
							
								#include "test.hpp"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifdef BOOST_NO_STD_ITERATOR_TRAITS
							 | 
						||
| 
								 | 
							
								#include "boost_no_std_iter_traits.cxx"
							 | 
						||
| 
								 | 
							
								#else
							 | 
						||
| 
								 | 
							
								#error "this file should not compile"
							 | 
						||
| 
								 | 
							
								#endif
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								int cpp_main( int, char *[] )
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
									return boost_no_std_iterator_traits::test();
							 | 
						||
| 
								 | 
							
								}	
							 | 
						||
| 
								 | 
							
									
							 |