os/ossrv/ossrv_pub/boost_apis/boost/range/config.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Boost.Range library
sl@0
     2
//
sl@0
     3
//  Copyright Thorsten Ottosen 2003-2004. Use, modification and
sl@0
     4
//  distribution is subject to the Boost Software License, Version
sl@0
     5
//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
sl@0
     6
//  http://www.boost.org/LICENSE_1_0.txt)
sl@0
     7
//
sl@0
     8
// For more information, see http://www.boost.org/libs/range/
sl@0
     9
//
sl@0
    10
sl@0
    11
#ifndef BOOST_RANGE_CONFIG_HPP
sl@0
    12
#define BOOST_RANGE_CONFIG_HPP
sl@0
    13
sl@0
    14
#include <boost/detail/workaround.hpp>
sl@0
    15
sl@0
    16
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
sl@0
    17
# pragma once
sl@0
    18
#endif
sl@0
    19
sl@0
    20
#include <boost/config.hpp>
sl@0
    21
sl@0
    22
#ifdef BOOST_RANGE_DEDUCED_TYPENAME
sl@0
    23
#error "macro already defined!"
sl@0
    24
#endif
sl@0
    25
sl@0
    26
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
sl@0
    27
# define BOOST_RANGE_DEDUCED_TYPENAME typename
sl@0
    28
#else
sl@0
    29
# if BOOST_WORKAROUND(BOOST_MSVC, == 1300) && !defined(_MSC_EXTENSIONS)
sl@0
    30
#  define BOOST_RANGE_DEDUCED_TYPENAME typename
sl@0
    31
# else
sl@0
    32
#  define BOOST_RANGE_DEDUCED_TYPENAME BOOST_DEDUCED_TYPENAME
sl@0
    33
# endif
sl@0
    34
#endif
sl@0
    35
sl@0
    36
#ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
sl@0
    37
#error "macro already defined!"
sl@0
    38
#endif
sl@0
    39
sl@0
    40
//#if BOOST_WORKAROUND( BOOST_MSVC, < 1300 ) || __MWERKS__ <= 0x3003
sl@0
    41
#if _MSC_VER <= 1300 && !defined( __COMO__ ) && !defined( __GNUC__ ) && __MWERKS__ <= 0x3003
sl@0
    42
#define BOOST_RANGE_NO_ARRAY_SUPPORT 1
sl@0
    43
#endif
sl@0
    44
sl@0
    45
#ifdef BOOST_RANGE_NO_ARRAY_SUPPORT
sl@0
    46
#define BOOST_RANGE_ARRAY_REF() (boost_range_array)
sl@0
    47
#define BOOST_RANGE_NO_STATIC_ASSERT
sl@0
    48
#else
sl@0
    49
#define BOOST_RANGE_ARRAY_REF() (&boost_range_array)
sl@0
    50
#endif
sl@0
    51
sl@0
    52
sl@0
    53
sl@0
    54
#endif
sl@0
    55