| 
									
										
										
										
											2004-12-04 11:36:36 +00:00
										 |  |  | //  This file was automatically generated on Fri Dec 03 18:04:02 2004
 | 
					
						
							|  |  |  | //  by libs/config/tools/generate.cpp
 | 
					
						
							| 
									
										
										
										
											2004-07-25 12:01:00 +00:00
										 |  |  | //  Copyright John Maddock 2002-4.
 | 
					
						
							| 
									
										
										
										
											2003-10-14 10:33:24 +00:00
										 |  |  | //  Use, modification and distribution are subject to the 
 | 
					
						
							|  |  |  | //  Boost Software License, Version 1.0. (See accompanying file 
 | 
					
						
							|  |  |  | //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //  See http://www.boost.org/libs/config for the most recent version.
 | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Test file for macro BOOST_NO_STD_DISTANCE
 | 
					
						
							|  |  |  | // This file should compile, if it does not then
 | 
					
						
							| 
									
										
										
										
											2004-12-04 11:36:36 +00:00
										 |  |  | // BOOST_NO_STD_DISTANCE should be defined.
 | 
					
						
							|  |  |  | // See file boost_no_std_distance.ipp for details
 | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // 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 "test.hpp"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef BOOST_NO_STD_DISTANCE
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | #include "boost_no_std_distance.ipp"
 | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | #else
 | 
					
						
							|  |  |  | namespace boost_no_std_distance = empty_boost; | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | int main( int, char *[] ) | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2002-01-17 12:46:26 +00:00
										 |  |  |    return boost_no_std_distance::test(); | 
					
						
							| 
									
										
										
										
											2004-12-04 11:36:36 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 |