is_range.hpp
Go to the documentation of this file.
00001 /************************************************************************* 00002 * 00003 * ADOBE CONFIDENTIAL 00004 * ___________________ 00005 * 00006 * Copyright 2008 Adobe Systems Incorporated 00007 * All Rights Reserved. 00008 * 00009 * NOTICE: All information contained herein is, and remains 00010 * the property of Adobe Systems Incorporated and its suppliers, 00011 * if any. The intellectual and technical concepts contained 00012 * herein are proprietary to Adobe Systems Incorporated and its 00013 * suppliers and may be covered by U.S. and Foreign Patents, 00014 * patents in process, and are protected by trade secret or copyright law. 00015 * Dissemination of this information or reproduction of this material 00016 * is strictly forbidden unless prior written permission is obtained 00017 * from Adobe Systems Incorporated. 00018 **************************************************************************/ 00019 00020 #ifndef ADOBE_IS_RANGE_HPP 00021 #define ADOBE_IS_RANGE_HPP 00022 00023 #include <adobe/type_inspection.hpp> 00024 00025 namespace adobe 00026 { 00027 00033 template <typename T> 00034 struct is_range 00035 { 00036 static const bool value = has_type_type<boost::range_iterator<T> >::value; 00037 }; 00038 00039 } 00040 00041 #endif // include guard 00042 |