mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 23:04:33 +02:00
DM fixes
[SVN r21830]
This commit is contained in:
@@ -2,26 +2,25 @@
|
|||||||
#ifndef BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
#ifndef BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
#define BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
||||||
|
|
||||||
// + file: boost/mpl/aux_/config/preprocessor.hpp
|
// Copyright (c) 2000-04 Aleksey Gurtovoy
|
||||||
// + last modified: 02/sep/03
|
|
||||||
|
|
||||||
// Copyright (C) 2000-03 Aleksey Gurtovoy
|
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
// provided that the above copyright notice appears in all copies and
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
// that both the copyright notice and this permission notice appear in
|
|
||||||
// supporting documentation. No representations are made about the
|
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
//
|
//
|
||||||
// See http://www.boost.org/libs/mpl for documentation.
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
|
|
||||||
|
// $Source$
|
||||||
|
// $Date$
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
#include "boost/mpl/aux_/config/workaround.hpp"
|
#include "boost/mpl/aux_/config/workaround.hpp"
|
||||||
|
|
||||||
#if BOOST_WORKAROUND(__MWERKS__, <= 0x3003) \
|
#if !defined(BOOST_MPL_BROKEN_PP_MACRO_EXPANSION) \
|
||||||
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x561)) \
|
&& ( BOOST_WORKAROUND(__MWERKS__, <= 0x3003) \
|
||||||
|| BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(502))
|
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x561)) \
|
||||||
|
|| BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(502)) \
|
||||||
|
)
|
||||||
|
|
||||||
# define BOOST_MPL_BROKEN_PP_MACRO_EXPANSION
|
# define BOOST_MPL_BROKEN_PP_MACRO_EXPANSION
|
||||||
|
|
||||||
@@ -29,4 +28,11 @@
|
|||||||
|
|
||||||
//#define BOOST_MPL_NO_OWN_PP_PRIMITIVES
|
//#define BOOST_MPL_NO_OWN_PP_PRIMITIVES
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING) \
|
||||||
|
&& BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x833))
|
||||||
|
|
||||||
|
# define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
#endif // BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED
|
||||||
|
@@ -1,30 +1,34 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/aux_/include_preprocessed.hpp header file
|
// Copyright (c) 2001-04 Aleksey Gurtovoy
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2001-02
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
// Aleksey Gurtovoy
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
// $Source$
|
||||||
// that both the copyright notice and this permission notice appear in
|
// $Date$
|
||||||
// supporting documentation. No representations are made about the
|
// $Revision$
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
// no include guards, the header is intended for multiple inclusion!
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#include "boost/mpl/aux_/config/compiler.hpp"
|
#include "boost/mpl/aux_/config/compiler.hpp"
|
||||||
|
#include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
#include "boost/preprocessor/cat.hpp"
|
#include "boost/preprocessor/cat.hpp"
|
||||||
#include "boost/preprocessor/stringize.hpp"
|
#include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define AUX_PREPROCESSED_HEADER \
|
# define AUX_PREPROCESSED_HEADER \
|
||||||
aux_/preprocessed/BOOST_MPL_COMPILER_DIR/BOOST_MPL_PREPROCESSED_HEADER \
|
BOOST_MPL_COMPILER_DIR/BOOST_MPL_PREPROCESSED_HEADER \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define AUX_PREPROCESSED_HEADER \
|
||||||
|
BOOST_PP_CAT(BOOST_MPL_COMPILER_DIR,/)##BOOST_MPL_PREPROCESSED_HEADER \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/AUX_PREPROCESSED_HEADER)
|
# include BOOST_PP_STRINGIZE(boost/mpl/aux_/preprocessed/AUX_PREPROCESSED_HEADER)
|
||||||
# undef AUX_PREPROCESSED_HEADER
|
# undef AUX_PREPROCESSED_HEADER
|
||||||
|
|
||||||
#undef BOOST_MPL_PREPROCESSED_HEADER
|
#undef BOOST_MPL_PREPROCESSED_HEADER
|
||||||
|
@@ -1,18 +1,3 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/list.hpp header file
|
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2000-02
|
|
||||||
// Aleksey Gurtovoy
|
|
||||||
//
|
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
|
||||||
// that both the copyright notice and this permission notice appear in
|
|
||||||
// supporting documentation. No representations are made about the
|
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
#if !defined(BOOST_PP_IS_ITERATING)
|
#if !defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
||||||
@@ -21,17 +6,38 @@
|
|||||||
#ifndef BOOST_MPL_LIST_HPP_INCLUDED
|
#ifndef BOOST_MPL_LIST_HPP_INCLUDED
|
||||||
#define BOOST_MPL_LIST_HPP_INCLUDED
|
#define BOOST_MPL_LIST_HPP_INCLUDED
|
||||||
|
|
||||||
|
// Copyright (c) 2000-04 Aleksey Gurtovoy
|
||||||
|
//
|
||||||
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
|
|
||||||
|
// $Source$
|
||||||
|
// $Date$
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||||
# include "boost/mpl/limits/list.hpp"
|
# include "boost/mpl/limits/list.hpp"
|
||||||
# include "boost/mpl/void.hpp"
|
# include "boost/mpl/void.hpp"
|
||||||
|
# include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
|
|
||||||
# include "boost/preprocessor/inc.hpp"
|
# include "boost/preprocessor/inc.hpp"
|
||||||
# include "boost/preprocessor/cat.hpp"
|
# include "boost/preprocessor/cat.hpp"
|
||||||
# include "boost/preprocessor/stringize.hpp"
|
# include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define MPL_AUX_LIST_HEADER \
|
# define MPL_AUX_LIST_HEADER \
|
||||||
BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE).hpp \
|
BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE).hpp \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define MPL_AUX_LIST_HEADER \
|
||||||
|
BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE)##.hpp \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/list/MPL_AUX_LIST_HEADER)
|
# include BOOST_PP_STRINGIZE(boost/mpl/list/MPL_AUX_LIST_HEADER)
|
||||||
# undef MPL_AUX_LIST_HEADER
|
# undef MPL_AUX_LIST_HEADER
|
||||||
@@ -39,8 +45,8 @@
|
|||||||
|
|
||||||
#include "boost/mpl/aux_/config/use_preprocessed.hpp"
|
#include "boost/mpl/aux_/config/use_preprocessed.hpp"
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_NO_PREPROCESSED_HEADERS) && \
|
#if !defined(BOOST_MPL_NO_PREPROCESSED_HEADERS) \
|
||||||
!defined(BOOST_MPL_PREPROCESSING_MODE)
|
&& !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||||
|
|
||||||
# define BOOST_MPL_PREPROCESSED_HEADER list.hpp
|
# define BOOST_MPL_PREPROCESSED_HEADER list.hpp
|
||||||
# include "boost/mpl/aux_/include_preprocessed.hpp"
|
# include "boost/mpl/aux_/include_preprocessed.hpp"
|
||||||
|
@@ -1,18 +1,15 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/list/aux_/include_preprocessed.hpp header file
|
// Copyright (c) 2001-04 Aleksey Gurtovoy
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2001-02
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
// Aleksey Gurtovoy
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
// $Source$
|
||||||
// that both the copyright notice and this permission notice appear in
|
// $Date$
|
||||||
// supporting documentation. No representations are made about the
|
// $Revision$
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
// no include guards, the header is intended for multiple inclusion!
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
|
@@ -1,18 +1,3 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/list_c.hpp header file
|
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2000-02
|
|
||||||
// Aleksey Gurtovoy
|
|
||||||
//
|
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
|
||||||
// that both the copyright notice and this permission notice appear in
|
|
||||||
// supporting documentation. No representations are made about the
|
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
#if !defined(BOOST_PP_IS_ITERATING)
|
#if !defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
||||||
@@ -21,16 +6,37 @@
|
|||||||
#ifndef BOOST_MPL_LIST_C_HPP_INCLUDED
|
#ifndef BOOST_MPL_LIST_C_HPP_INCLUDED
|
||||||
#define BOOST_MPL_LIST_C_HPP_INCLUDED
|
#define BOOST_MPL_LIST_C_HPP_INCLUDED
|
||||||
|
|
||||||
|
// Copyright (c) 2000-04 Aleksey Gurtovoy
|
||||||
|
//
|
||||||
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
|
|
||||||
|
// $Source$
|
||||||
|
// $Date$
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||||
# include "boost/mpl/limits/list.hpp"
|
# include "boost/mpl/limits/list.hpp"
|
||||||
|
# include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
|
|
||||||
# include "boost/preprocessor/inc.hpp"
|
# include "boost/preprocessor/inc.hpp"
|
||||||
# include "boost/preprocessor/cat.hpp"
|
# include "boost/preprocessor/cat.hpp"
|
||||||
# include "boost/preprocessor/stringize.hpp"
|
# include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define MPL_AUX_LIST_HEADER \
|
# define MPL_AUX_LIST_HEADER \
|
||||||
BOOST_PP_CAT(BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE), _c).hpp \
|
BOOST_PP_CAT(BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE), _c).hpp \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define MPL_AUX_LIST_HEADER \
|
||||||
|
BOOST_PP_CAT(BOOST_PP_CAT(list,BOOST_MPL_LIMIT_LIST_SIZE), _c)##.hpp \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/list/MPL_AUX_LIST_HEADER)
|
# include BOOST_PP_STRINGIZE(boost/mpl/list/MPL_AUX_LIST_HEADER)
|
||||||
# undef MPL_AUX_LIST_HEADER
|
# undef MPL_AUX_LIST_HEADER
|
||||||
|
@@ -1,18 +1,3 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/vector.hpp header file
|
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2000-02
|
|
||||||
// Aleksey Gurtovoy
|
|
||||||
//
|
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
|
||||||
// that both the copyright notice and this permission notice appear in
|
|
||||||
// supporting documentation. No representations are made about the
|
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
#if !defined(BOOST_PP_IS_ITERATING)
|
#if !defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
||||||
@@ -21,17 +6,38 @@
|
|||||||
#ifndef BOOST_MPL_VECTOR_HPP_INCLUDED
|
#ifndef BOOST_MPL_VECTOR_HPP_INCLUDED
|
||||||
#define BOOST_MPL_VECTOR_HPP_INCLUDED
|
#define BOOST_MPL_VECTOR_HPP_INCLUDED
|
||||||
|
|
||||||
|
// Copyright (c) 2000-04 Aleksey Gurtovoy
|
||||||
|
//
|
||||||
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
|
|
||||||
|
// $Source$
|
||||||
|
// $Date$
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||||
# include "boost/mpl/limits/vector.hpp"
|
# include "boost/mpl/limits/vector.hpp"
|
||||||
# include "boost/mpl/void.hpp"
|
# include "boost/mpl/void.hpp"
|
||||||
|
# include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
|
|
||||||
# include "boost/preprocessor/inc.hpp"
|
# include "boost/preprocessor/inc.hpp"
|
||||||
# include "boost/preprocessor/cat.hpp"
|
# include "boost/preprocessor/cat.hpp"
|
||||||
# include "boost/preprocessor/stringize.hpp"
|
# include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define MPL_AUX_VECTOR_HEADER \
|
# define MPL_AUX_VECTOR_HEADER \
|
||||||
BOOST_PP_CAT(vector, BOOST_MPL_LIMIT_VECTOR_SIZE).hpp \
|
BOOST_PP_CAT(vector, BOOST_MPL_LIMIT_VECTOR_SIZE).hpp \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define MPL_AUX_VECTOR_HEADER \
|
||||||
|
BOOST_PP_CAT(vector, BOOST_MPL_LIMIT_VECTOR_SIZE)##.hpp \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/vector/MPL_AUX_VECTOR_HEADER)
|
# include BOOST_PP_STRINGIZE(boost/mpl/vector/MPL_AUX_VECTOR_HEADER)
|
||||||
# undef MPL_AUX_VECTOR_HEADER
|
# undef MPL_AUX_VECTOR_HEADER
|
||||||
|
@@ -1,23 +1,21 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/vector/aux_/include_preprocessed.hpp header file
|
// Copyright (c) 2001-04 Aleksey Gurtovoy
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2001-02
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
// Aleksey Gurtovoy
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
// $Source$
|
||||||
// that both the copyright notice and this permission notice appear in
|
// $Date$
|
||||||
// supporting documentation. No representations are made about the
|
// $Revision$
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
// no include guards, the header is intended for multiple inclusion!
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#include "boost/mpl/aux_/config/vector.hpp"
|
#include "boost/mpl/aux_/config/vector.hpp"
|
||||||
#include "boost/mpl/aux_/config/ctps.hpp"
|
#include "boost/mpl/aux_/config/ctps.hpp"
|
||||||
|
#include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
#include "boost/preprocessor/cat.hpp"
|
#include "boost/preprocessor/cat.hpp"
|
||||||
#include "boost/preprocessor/stringize.hpp"
|
#include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
@@ -30,11 +28,18 @@
|
|||||||
# define AUX_VECTOR_INCLIDE_DIR plain
|
# define AUX_VECTOR_INCLIDE_DIR plain
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define AUX_PREPROCESSED_HEADER \
|
# define AUX_PREPROCESSED_HEADER \
|
||||||
aux_/preprocessed/AUX_VECTOR_INCLIDE_DIR/BOOST_MPL_PREPROCESSED_HEADER \
|
AUX_VECTOR_INCLIDE_DIR/BOOST_MPL_PREPROCESSED_HEADER \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define AUX_PREPROCESSED_HEADER \
|
||||||
|
BOOST_PP_CAT(AUX_VECTOR_INCLIDE_DIR,/)##BOOST_MPL_PREPROCESSED_HEADER \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/vector/AUX_PREPROCESSED_HEADER)
|
|
||||||
|
# include BOOST_PP_STRINGIZE(boost/mpl/vector/aux_/preprocessed/AUX_PREPROCESSED_HEADER)
|
||||||
|
|
||||||
# undef AUX_PREPROCESSED_HEADER
|
# undef AUX_PREPROCESSED_HEADER
|
||||||
# undef AUX_VECTOR_INCLIDE_DIR
|
# undef AUX_VECTOR_INCLIDE_DIR
|
||||||
|
@@ -1,18 +1,3 @@
|
|||||||
//-----------------------------------------------------------------------------
|
|
||||||
// boost mpl/vector_c.hpp header file
|
|
||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2000-02
|
|
||||||
// Aleksey Gurtovoy
|
|
||||||
//
|
|
||||||
// Permission to use, copy, modify, distribute and sell this software
|
|
||||||
// and its documentation for any purpose is hereby granted without fee,
|
|
||||||
// provided that the above copyright notice appears in all copies and
|
|
||||||
// that both the copyright notice and this permission notice appear in
|
|
||||||
// supporting documentation. No representations are made about the
|
|
||||||
// suitability of this software for any purpose. It is provided "as is"
|
|
||||||
// without express or implied warranty.
|
|
||||||
|
|
||||||
#if !defined(BOOST_PP_IS_ITERATING)
|
#if !defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
||||||
@@ -21,16 +6,37 @@
|
|||||||
#ifndef BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
#ifndef BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
||||||
#define BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
#define BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
||||||
|
|
||||||
|
// Copyright (c) 2000-04 Aleksey Gurtovoy
|
||||||
|
//
|
||||||
|
// Use, modification and distribution are subject to the Boost Software
|
||||||
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
||||||
|
// at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
// See http://www.boost.org/libs/mpl for documentation.
|
||||||
|
|
||||||
|
// $Source$
|
||||||
|
// $Date$
|
||||||
|
// $Revision$
|
||||||
|
|
||||||
|
// no include guards, the header is intended for multiple inclusion!
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||||
# include "boost/mpl/limits/vector.hpp"
|
# include "boost/mpl/limits/vector.hpp"
|
||||||
|
# include "boost/mpl/aux_/config/preprocessor.hpp"
|
||||||
|
|
||||||
# include "boost/preprocessor/inc.hpp"
|
# include "boost/preprocessor/inc.hpp"
|
||||||
# include "boost/preprocessor/cat.hpp"
|
# include "boost/preprocessor/cat.hpp"
|
||||||
# include "boost/preprocessor/stringize.hpp"
|
# include "boost/preprocessor/stringize.hpp"
|
||||||
|
|
||||||
|
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
||||||
# define MPL_AUX_VECTOR_HEADER \
|
# define MPL_AUX_VECTOR_HEADER \
|
||||||
BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE), _c).hpp \
|
BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE), _c).hpp \
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
|
# define MPL_AUX_VECTOR_HEADER \
|
||||||
|
BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE), _c)##.hpp \
|
||||||
|
/**/
|
||||||
|
#endif
|
||||||
|
|
||||||
# include BOOST_PP_STRINGIZE(boost/mpl/vector/MPL_AUX_VECTOR_HEADER)
|
# include BOOST_PP_STRINGIZE(boost/mpl/vector/MPL_AUX_VECTOR_HEADER)
|
||||||
# undef MPL_AUX_VECTOR_HEADER
|
# undef MPL_AUX_VECTOR_HEADER
|
||||||
|
Reference in New Issue
Block a user