os/ossrv/ossrv_pub/boost_apis/boost/mpl/set_c.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
sl@0
     2
#ifndef BOOST_MPL_SET_C_HPP_INCLUDED
sl@0
     3
#define BOOST_MPL_SET_C_HPP_INCLUDED
sl@0
     4
sl@0
     5
// Copyright Aleksey Gurtovoy 2000-2004
sl@0
     6
//
sl@0
     7
// Distributed under the Boost Software License, Version 1.0. 
sl@0
     8
// (See accompanying file LICENSE_1_0.txt or copy at 
sl@0
     9
// http://www.boost.org/LICENSE_1_0.txt)
sl@0
    10
//
sl@0
    11
// See http://www.boost.org/libs/mpl for documentation.
sl@0
    12
sl@0
    13
// $Source: /cvsroot/boost/boost/boost/mpl/set_c.hpp,v $
sl@0
    14
// $Date: 2004/11/28 01:58:03 $
sl@0
    15
// $Revision: 1.2 $
sl@0
    16
sl@0
    17
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
sl@0
    18
#   include <boost/mpl/limits/set.hpp>
sl@0
    19
#   include <boost/mpl/aux_/nttp_decl.hpp>
sl@0
    20
#   include <boost/mpl/aux_/config/preprocessor.hpp>
sl@0
    21
sl@0
    22
#   include <boost/preprocessor/inc.hpp>
sl@0
    23
#   include <boost/preprocessor/cat.hpp>
sl@0
    24
#   include <boost/preprocessor/stringize.hpp>
sl@0
    25
sl@0
    26
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
sl@0
    27
#   define AUX778076_SET_C_HEADER \
sl@0
    28
    BOOST_PP_CAT(BOOST_PP_CAT(set,BOOST_MPL_LIMIT_SET_SIZE),_c).hpp \
sl@0
    29
    /**/
sl@0
    30
#else
sl@0
    31
#   define AUX778076_SET_C_HEADER \
sl@0
    32
    BOOST_PP_CAT(BOOST_PP_CAT(set,BOOST_MPL_LIMIT_SET_SIZE),_c)##.hpp \
sl@0
    33
    /**/
sl@0
    34
#endif
sl@0
    35
sl@0
    36
#   include BOOST_PP_STRINGIZE(boost/mpl/set/AUX778076_SET_C_HEADER)
sl@0
    37
#   undef AUX778076_SET_C_HEADER
sl@0
    38
#   include <climits>
sl@0
    39
#endif
sl@0
    40
sl@0
    41
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
sl@0
    42
sl@0
    43
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
sl@0
    44
    && !defined(BOOST_MPL_PREPROCESSING_MODE)
sl@0
    45
sl@0
    46
#   define BOOST_MPL_PREPROCESSED_HEADER set_c.hpp
sl@0
    47
#   include <boost/mpl/aux_/include_preprocessed.hpp>
sl@0
    48
sl@0
    49
#else
sl@0
    50
sl@0
    51
#   include <boost/mpl/limits/set.hpp>
sl@0
    52
sl@0
    53
#   define AUX778076_SEQUENCE_NAME set_c
sl@0
    54
#   define AUX778076_SEQUENCE_LIMIT BOOST_MPL_LIMIT_SET_SIZE
sl@0
    55
#   define AUX778076_SEQUENCE_NAME_N(n) BOOST_PP_CAT(BOOST_PP_CAT(set,n),_c)
sl@0
    56
#   define AUX778076_SEQUENCE_INTEGRAL_WRAPPER
sl@0
    57
#   include <boost/mpl/aux_/sequence_wrapper.hpp>
sl@0
    58
sl@0
    59
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
sl@0
    60
#endif // BOOST_MPL_SET_C_HPP_INCLUDED