Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:30:31

0001 // Boost.Range library
0002 //
0003 //  Copyright Thorsten Ottosen 2003-2004. Use, modification and
0004 //  distribution is subject to the Boost Software License, Version
0005 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // For more information, see http://www.boost.org/libs/range/
0009 //
0010 
0011 #ifndef BOOST_RANGE_CONFIG_HPP
0012 #define BOOST_RANGE_CONFIG_HPP
0013 
0014 #include <boost/detail/workaround.hpp>
0015 
0016 #if defined(_MSC_VER)
0017 # pragma once
0018 #endif
0019 
0020 #include <boost/config.hpp>
0021 
0022 #ifdef BOOST_RANGE_DEDUCED_TYPENAME
0023 #error "macro already defined!"
0024 #endif
0025 
0026 #if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x564))
0027 # define BOOST_RANGE_DEDUCED_TYPENAME typename
0028 #else
0029 #define BOOST_RANGE_DEDUCED_TYPENAME BOOST_DEDUCED_TYPENAME
0030 #endif
0031 
0032 #ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
0033 #error "macro already defined!"
0034 #endif
0035 
0036 #if BOOST_WORKAROUND( __MWERKS__, <= 0x3003 )
0037 #define BOOST_RANGE_NO_ARRAY_SUPPORT 1
0038 #endif
0039 
0040 #ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
0041 #define BOOST_RANGE_ARRAY_REF() (boost_range_array)
0042 #define BOOST_RANGE_NO_STATIC_ASSERT
0043 #else
0044 #define BOOST_RANGE_ARRAY_REF() (&boost_range_array)
0045 #endif
0046 
0047 #if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
0048 #  define BOOST_RANGE_UNUSED __attribute__((unused))
0049 #else
0050 #  define BOOST_RANGE_UNUSED
0051 #endif
0052 
0053 
0054 
0055 #endif
0056