1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/range/config.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,55 @@
1.4 +// Boost.Range library
1.5 +//
1.6 +// Copyright Thorsten Ottosen 2003-2004. Use, modification and
1.7 +// distribution is subject to the Boost Software License, Version
1.8 +// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
1.9 +// http://www.boost.org/LICENSE_1_0.txt)
1.10 +//
1.11 +// For more information, see http://www.boost.org/libs/range/
1.12 +//
1.13 +
1.14 +#ifndef BOOST_RANGE_CONFIG_HPP
1.15 +#define BOOST_RANGE_CONFIG_HPP
1.16 +
1.17 +#include <boost/detail/workaround.hpp>
1.18 +
1.19 +#if defined(_MSC_VER) && (_MSC_VER >= 1200)
1.20 +# pragma once
1.21 +#endif
1.22 +
1.23 +#include <boost/config.hpp>
1.24 +
1.25 +#ifdef BOOST_RANGE_DEDUCED_TYPENAME
1.26 +#error "macro already defined!"
1.27 +#endif
1.28 +
1.29 +#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
1.30 +# define BOOST_RANGE_DEDUCED_TYPENAME typename
1.31 +#else
1.32 +# if BOOST_WORKAROUND(BOOST_MSVC, == 1300) && !defined(_MSC_EXTENSIONS)
1.33 +# define BOOST_RANGE_DEDUCED_TYPENAME typename
1.34 +# else
1.35 +# define BOOST_RANGE_DEDUCED_TYPENAME BOOST_DEDUCED_TYPENAME
1.36 +# endif
1.37 +#endif
1.38 +
1.39 +#ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
1.40 +#error "macro already defined!"
1.41 +#endif
1.42 +
1.43 +//#if BOOST_WORKAROUND( BOOST_MSVC, < 1300 ) || __MWERKS__ <= 0x3003
1.44 +#if _MSC_VER <= 1300 && !defined( __COMO__ ) && !defined( __GNUC__ ) && __MWERKS__ <= 0x3003
1.45 +#define BOOST_RANGE_NO_ARRAY_SUPPORT 1
1.46 +#endif
1.47 +
1.48 +#ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
1.49 +#define BOOST_RANGE_ARRAY_REF() (boost_range_array)
1.50 +#define BOOST_RANGE_NO_STATIC_ASSERT
1.51 +#else
1.52 +#define BOOST_RANGE_ARRAY_REF() (&boost_range_array)
1.53 +#endif
1.54 +
1.55 +
1.56 +
1.57 +#endif
1.58 +