35 lines
		
	
	
		
			863 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			863 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | // Copyright 2005 Daniel Wallin. | ||
|  | // Copyright 2005 Joel de Guzman. | ||
|  | // | ||
|  | // Use, modification and distribution is 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) | ||
|  | // | ||
|  | // Modeled after range_ex, Copyright 2004 Eric Niebler | ||
|  | /////////////////////////////////////////////////////////////////////////////// | ||
|  | // | ||
|  | // has_reverse.hpp | ||
|  | // | ||
|  | ///////////////////////////////////////////////////////////////////////////// | ||
|  | 
 | ||
|  | #if defined(_MSC_VER) | ||
|  | #pragma once | ||
|  | #endif | ||
|  | 
 | ||
|  | #ifndef BOOST_PHOENIX_HAS_REVERSE_EN_14_12_2004 | ||
|  | #define BOOST_PHOENIX_HAS_REVERSE_EN_14_12_2004 | ||
|  | 
 | ||
|  | #include "./is_std_list.hpp" | ||
|  | 
 | ||
|  | namespace boost | ||
|  | { | ||
|  |     // Specialize this for user-defined types | ||
|  |     template<typename T> | ||
|  |     struct has_reverse | ||
|  |         : is_std_list<T> | ||
|  |     { | ||
|  |     }; | ||
|  | } | ||
|  | 
 | ||
|  | #endif |