suffix.hpp

Go to the documentation of this file.
00001 //  Boost config.hpp configuration header file  ------------------------------//
00002 
00003 //  (C) Copyright John Maddock 2001 - 2003.
00004 //  (C) Copyright Darin Adler 2001.
00005 //  (C) Copyright Peter Dimov 2001.
00006 //  (C) Copyright Bill Kempf 2002.
00007 //  (C) Copyright Jens Maurer 2002.
00008 //  (C) Copyright David Abrahams 2002 - 2003.
00009 //  (C) Copyright Gennaro Prota 2003.
00010 //  (C) Copyright Eric Friedman 2003.
00011 //  Use, modification and distribution are subject to the
00012 //  Boost Software License, Version 1.0. (See accompanying file
00013 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00014 
00015 //  See http://www.boost.org for most recent version.
00016 
00017 //  Boost config.hpp policy and rationale documentation has been moved to
00018 //  http://www.boost.org/libs/config
00019 //
00020 //  This file is intended to be stable, and relatively unchanging.
00021 //  It should contain boilerplate code only - no compiler specific
00022 //  code unless it is unavoidable - no changes unless unavoidable.
00023 
00024 #ifndef BOOST_CONFIG_SUFFIX_HPP
00025 #define BOOST_CONFIG_SUFFIX_HPP
00026 
00027 //
00028 // look for long long by looking for the appropriate macros in <limits.h>.
00029 // Note that we use limits.h rather than climits for maximal portability,
00030 // remember that since these just declare a bunch of macros, there should be
00031 // no namespace issues from this.
00032 //
00033 #include <limits.h>
00034 # if !defined(BOOST_HAS_LONG_LONG)                                              \
00035    && !defined(BOOST_MSVC) && !defined(__BORLANDC__)     \
00036    && (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
00037 #  define BOOST_HAS_LONG_LONG
00038 #endif
00039 
00040 // TODO: Remove the following lines after the 1.33 release because the presence
00041 // of an integral 64 bit type has nothing to do with support for long long.
00042 
00043 #if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_INTEGRAL_INT64_T) && !defined(__DECCXX_VER)
00044 #  define BOOST_NO_INTEGRAL_INT64_T
00045 #endif
00046 
00047 // GCC 3.x will clean up all of those nasty macro definitions that
00048 // BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine
00049 // it under GCC 3.x.
00050 #if defined(__GNUC__) && (__GNUC__ >= 3) && defined(BOOST_NO_CTYPE_FUNCTIONS)
00051 #  undef BOOST_NO_CTYPE_FUNCTIONS
00052 #endif
00053 
00054 
00055 //
00056 // Assume any extensions are in namespace std:: unless stated otherwise:
00057 //
00058 #  ifndef BOOST_STD_EXTENSION_NAMESPACE
00059 #    define BOOST_STD_EXTENSION_NAMESPACE std
00060 #  endif
00061 
00062 //
00063 // If cv-qualified specializations are not allowed, then neither are cv-void ones:
00064 //
00065 #  if defined(BOOST_NO_CV_SPECIALIZATIONS) \
00066       && !defined(BOOST_NO_CV_VOID_SPECIALIZATIONS)
00067 #     define BOOST_NO_CV_VOID_SPECIALIZATIONS
00068 #  endif
00069 
00070 //
00071 // If there is no numeric_limits template, then it can't have any compile time
00072 // constants either!
00073 //
00074 #  if defined(BOOST_NO_LIMITS) \
00075       && !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS)
00076 #     define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
00077 #     define BOOST_NO_MS_INT64_NUMERIC_LIMITS
00078 #     define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
00079 #  endif
00080 
00081 //
00082 // if there is no long long then there is no specialisation
00083 // for numeric_limits<long long> either:
00084 //
00085 #if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS)
00086 #  define BOOST_NO_LONG_LONG_NUMERIC_LIMITS
00087 #endif
00088 
00089 //
00090 // if there is no __int64 then there is no specialisation
00091 // for numeric_limits<__int64> either:
00092 //
00093 #if !defined(BOOST_HAS_MS_INT64) && !defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS)
00094 #  define BOOST_NO_MS_INT64_NUMERIC_LIMITS
00095 #endif
00096 
00097 //
00098 // if member templates are supported then so is the
00099 // VC6 subset of member templates:
00100 //
00101 #  if !defined(BOOST_NO_MEMBER_TEMPLATES) \
00102        && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
00103 #     define BOOST_MSVC6_MEMBER_TEMPLATES
00104 #  endif
00105 
00106 //
00107 // Without partial specialization, can't test for partial specialisation bugs:
00108 //
00109 #  if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
00110       && !defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG)
00111 #     define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
00112 #  endif
00113 
00114 //
00115 // Without partial specialization, we can't have array-type partial specialisations:
00116 //
00117 #  if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
00118       && !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
00119 #     define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
00120 #  endif
00121 
00122 //
00123 // Without partial specialization, std::iterator_traits can't work:
00124 //
00125 #  if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
00126       && !defined(BOOST_NO_STD_ITERATOR_TRAITS)
00127 #     define BOOST_NO_STD_ITERATOR_TRAITS
00128 #  endif
00129 
00130 //
00131 // Without member template support, we can't have template constructors
00132 // in the standard library either:
00133 //
00134 #  if defined(BOOST_NO_MEMBER_TEMPLATES) \
00135       && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) \
00136       && !defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS)
00137 #     define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
00138 #  endif
00139 
00140 //
00141 // Without member template support, we can't have a conforming
00142 // std::allocator template either:
00143 //
00144 #  if defined(BOOST_NO_MEMBER_TEMPLATES) \
00145       && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) \
00146       && !defined(BOOST_NO_STD_ALLOCATOR)
00147 #     define BOOST_NO_STD_ALLOCATOR
00148 #  endif
00149 
00150 //
00151 // without ADL support then using declarations will break ADL as well:
00152 //
00153 #if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
00154 #  define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00155 #endif
00156 
00157 //
00158 // If we have a standard allocator, then we have a partial one as well:
00159 //
00160 #if !defined(BOOST_NO_STD_ALLOCATOR)
00161 #  define BOOST_HAS_PARTIAL_STD_ALLOCATOR
00162 #endif
00163 
00164 //
00165 // We can't have a working std::use_facet if there is no std::locale:
00166 //
00167 #  if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_USE_FACET)
00168 #     define BOOST_NO_STD_USE_FACET
00169 #  endif
00170 
00171 //
00172 // We can't have a std::messages facet if there is no std::locale:
00173 //
00174 #  if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_MESSAGES)
00175 #     define BOOST_NO_STD_MESSAGES
00176 #  endif
00177 
00178 //
00179 // We can't have a working std::wstreambuf if there is no std::locale:
00180 //
00181 #  if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_WSTREAMBUF)
00182 #     define BOOST_NO_STD_WSTREAMBUF
00183 #  endif
00184 
00185 //
00186 // We can't have a <cwctype> if there is no <cwchar>:
00187 //
00188 #  if defined(BOOST_NO_CWCHAR) && !defined(BOOST_NO_CWCTYPE)
00189 #     define BOOST_NO_CWCTYPE
00190 #  endif
00191 
00192 //
00193 // We can't have a swprintf if there is no <cwchar>:
00194 //
00195 #  if defined(BOOST_NO_CWCHAR) && !defined(BOOST_NO_SWPRINTF)
00196 #     define BOOST_NO_SWPRINTF
00197 #  endif
00198 
00199 //
00200 // If Win32 support is turned off, then we must turn off
00201 // threading support also, unless there is some other
00202 // thread API enabled:
00203 //
00204 #if defined(BOOST_DISABLE_WIN32) && defined(_WIN32) \
00205    && !defined(BOOST_DISABLE_THREADS) && !defined(BOOST_HAS_PTHREADS)
00206 #  define BOOST_DISABLE_THREADS
00207 #endif
00208 
00209 //
00210 // Turn on threading support if the compiler thinks that it's in
00211 // multithreaded mode.  We put this here because there are only a
00212 // limited number of macros that identify this (if there's any missing
00213 // from here then add to the appropriate compiler section):
00214 //
00215 #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
00216     || defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS)
00217 #  define BOOST_HAS_THREADS
00218 #endif
00219 
00220 //
00221 // Turn threading support off if BOOST_DISABLE_THREADS is defined:
00222 //
00223 #if defined(BOOST_DISABLE_THREADS) && defined(BOOST_HAS_THREADS)
00224 #  undef BOOST_HAS_THREADS
00225 #endif
00226 
00227 //
00228 // Turn threading support off if we don't recognise the threading API:
00229 //
00230 #if defined(BOOST_HAS_THREADS) && !defined(BOOST_HAS_PTHREADS)\
00231       && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_BETHREADS)\
00232       && !defined(BOOST_HAS_MPTASKS)
00233 #  undef BOOST_HAS_THREADS
00234 #endif
00235 
00236 //
00237 // Turn threading detail macros off if we don't (want to) use threading
00238 //
00239 #ifndef BOOST_HAS_THREADS
00240 #  undef BOOST_HAS_PTHREADS
00241 #  undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
00242 #  undef BOOST_HAS_WINTHREADS
00243 #  undef BOOST_HAS_BETHREADS
00244 #  undef BOOST_HAS_MPTASKS
00245 #endif
00246 
00247 //
00248 // If the compiler claims to be C99 conformant, then it had better
00249 // have a <stdint.h>:
00250 //
00251 #  if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
00252 #     define BOOST_HAS_STDINT_H
00253 #  endif
00254 
00255 //
00256 // Define BOOST_NO_SLIST and BOOST_NO_HASH if required.
00257 // Note that this is for backwards compatibility only.
00258 //
00259 #  ifndef BOOST_HAS_SLIST
00260 #     define BOOST_NO_SLIST
00261 #  endif
00262 
00263 #  ifndef BOOST_HAS_HASH
00264 #     define BOOST_NO_HASH
00265 #  endif
00266 
00267 //  BOOST_HAS_ABI_HEADERS
00268 //  This macro gets set if we have headers that fix the ABI,
00269 //  and prevent ODR violations when linking to external libraries:
00270 #if defined(BOOST_ABI_PREFIX) && defined(BOOST_ABI_SUFFIX) && !defined(BOOST_HAS_ABI_HEADERS)
00271 #  define BOOST_HAS_ABI_HEADERS
00272 #endif
00273 
00274 #if defined(BOOST_HAS_ABI_HEADERS) && defined(BOOST_DISABLE_ABI_HEADERS)
00275 #  undef BOOST_HAS_ABI_HEADERS
00276 #endif
00277 
00278 //  BOOST_NO_STDC_NAMESPACE workaround  --------------------------------------//
00279 //  Because std::size_t usage is so common, even in boost headers which do not
00280 //  otherwise use the C library, the <cstddef> workaround is included here so
00281 //  that ugly workaround code need not appear in many other boost headers.
00282 //  NOTE WELL: This is a workaround for non-conforming compilers; <cstddef>
00283 //  must still be #included in the usual places so that <cstddef> inclusion
00284 //  works as expected with standard conforming compilers.  The resulting
00285 //  double inclusion of <cstddef> is harmless.
00286 
00287 # ifdef BOOST_NO_STDC_NAMESPACE
00288 #   include <cstddef>
00289     namespace std { using ::ptrdiff_t; using ::size_t; }
00290 # endif
00291 
00292 //  Workaround for the unfortunate min/max macros defined by some platform headers
00293 
00294 #define BOOST_PREVENT_MACRO_SUBSTITUTION
00295 
00296 #ifndef BOOST_USING_STD_MIN
00297 #  define BOOST_USING_STD_MIN() using std::min
00298 #endif
00299 
00300 #ifndef BOOST_USING_STD_MAX
00301 #  define BOOST_USING_STD_MAX() using std::max
00302 #endif
00303 
00304 //  BOOST_NO_STD_MIN_MAX workaround  -----------------------------------------//
00305 
00306 #  ifdef BOOST_NO_STD_MIN_MAX
00307 
00308 namespace std {
00309   template <class _Tp>
00310   inline const _Tp& min BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) {
00311     return __b < __a ? __b : __a;
00312   }
00313   template <class _Tp>
00314   inline const _Tp& max BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) {
00315     return  __a < __b ? __b : __a;
00316   }
00317 }
00318 
00319 #  endif
00320 
00321 // BOOST_STATIC_CONSTANT workaround --------------------------------------- //
00322 // On compilers which don't allow in-class initialization of static integral
00323 // constant members, we must use enums as a workaround if we want the constants
00324 // to be available at compile-time. This macro gives us a convenient way to
00325 // declare such constants.
00326 
00327 #  ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
00328 #       define BOOST_STATIC_CONSTANT(type, assignment) enum { assignment }
00329 #  else
00330 #     define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment
00331 #  endif
00332 
00333 // BOOST_USE_FACET / HAS_FACET workaround ----------------------------------//
00334 // When the standard library does not have a conforming std::use_facet there
00335 // are various workarounds available, but they differ from library to library.
00336 // The same problem occurs with has_facet.
00337 // These macros provide a consistent way to access a locale's facets.
00338 // Usage:
00339 //    replace
00340 //       std::use_facet<Type>(loc);
00341 //    with
00342 //       BOOST_USE_FACET(Type, loc);
00343 //    Note do not add a std:: prefix to the front of BOOST_USE_FACET!
00344 //  Use for BOOST_HAS_FACET is analagous.
00345 
00346 #if defined(BOOST_NO_STD_USE_FACET)
00347 #  ifdef BOOST_HAS_TWO_ARG_USE_FACET
00348 #     define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast<Type*>(0))
00349 #     define BOOST_HAS_FACET(Type, loc) std::has_facet(loc, static_cast<Type*>(0))
00350 #  elif defined(BOOST_HAS_MACRO_USE_FACET)
00351 #     define BOOST_USE_FACET(Type, loc) std::_USE(loc, Type)
00352 #     define BOOST_HAS_FACET(Type, loc) std::_HAS(loc, Type)
00353 #  elif defined(BOOST_HAS_STLP_USE_FACET)
00354 #     define BOOST_USE_FACET(Type, loc) (*std::_Use_facet<Type >(loc))
00355 #     define BOOST_HAS_FACET(Type, loc) std::has_facet< Type >(loc)
00356 #  endif
00357 #else
00358 #  define BOOST_USE_FACET(Type, loc) std::use_facet< Type >(loc)
00359 #  define BOOST_HAS_FACET(Type, loc) std::has_facet< Type >(loc)
00360 #endif
00361 
00362 // BOOST_NESTED_TEMPLATE workaround ------------------------------------------//
00363 // Member templates are supported by some compilers even though they can't use
00364 // the A::template member<U> syntax, as a workaround replace:
00365 //
00366 // typedef typename A::template rebind<U> binder;
00367 //
00368 // with:
00369 //
00370 // typedef typename A::BOOST_NESTED_TEMPLATE rebind<U> binder;
00371 
00372 #ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
00373 #  define BOOST_NESTED_TEMPLATE template
00374 #else
00375 #  define BOOST_NESTED_TEMPLATE
00376 #endif
00377 
00378 // BOOST_UNREACHABLE_RETURN(x) workaround -------------------------------------//
00379 // Normally evaluates to nothing, unless BOOST_NO_UNREACHABLE_RETURN_DETECTION
00380 // is defined, in which case it evaluates to return x; Use when you have a return
00381 // statement that can never be reached.
00382 
00383 #ifdef BOOST_NO_UNREACHABLE_RETURN_DETECTION
00384 #  define BOOST_UNREACHABLE_RETURN(x) return x;
00385 #else
00386 #  define BOOST_UNREACHABLE_RETURN(x)
00387 #endif
00388 
00389 // BOOST_DEDUCED_TYPENAME workaround ------------------------------------------//
00390 //
00391 // Some compilers don't support the use of `typename' for dependent
00392 // types in deduced contexts, e.g.
00393 //
00394 //     template <class T> void f(T, typename T::type);
00395 //                                  ^^^^^^^^
00396 // Replace these declarations with:
00397 //
00398 //     template <class T> void f(T, BOOST_DEDUCED_TYPENAME T::type);
00399 
00400 #ifndef BOOST_NO_DEDUCED_TYPENAME
00401 #  define BOOST_DEDUCED_TYPENAME typename
00402 #else
00403 #  define BOOST_DEDUCED_TYPENAME
00404 #endif
00405 
00406 // long long workaround ------------------------------------------//
00407 // On gcc (and maybe other compilers?) long long is alway supported
00408 // but it's use may generate either warnings (with -ansi), or errors
00409 // (with -pedantic -ansi) unless it's use is prefixed by __extension__
00410 //
00411 #if defined(BOOST_HAS_LONG_LONG)
00412 namespace boost{
00413 #  ifdef __GNUC__
00414    __extension__ typedef long long long_long_type;
00415    __extension__ typedef unsigned long long ulong_long_type;
00416 #  else
00417    typedef long long long_long_type;
00418    typedef unsigned long long ulong_long_type;
00419 #  endif
00420 }
00421 #endif
00422 
00423 // BOOST_[APPEND_]EXPLICIT_TEMPLATE_[NON_]TYPE macros --------------------------//
00424 //
00425 // Some compilers have problems with function templates whose
00426 // template parameters don't appear in the function parameter
00427 // list (basically they just link one instantiation of the
00428 // template in the final executable). These macros provide a
00429 // uniform way to cope with the problem with no effects on the
00430 // calling syntax.
00431 
00432 // Example:
00433 //
00434 //  #include <iostream>
00435 //  #include <ostream>
00436 //  #include <typeinfo>
00437 //
00438 //  template <int n>
00439 //  void f() { std::cout << n << ' '; }
00440 //
00441 //  template <typename T>
00442 //  void g() { std::cout << typeid(T).name() << ' '; }
00443 //
00444 //  int main() {
00445 //    f<1>();
00446 //    f<2>();
00447 //
00448 //    g<int>();
00449 //    g<double>();
00450 //  }
00451 //
00452 // With VC++ 6.0 the output is:
00453 //
00454 //   2 2 double double
00455 //
00456 // To fix it, write
00457 //
00458 //   template <int n>
00459 //   void f(BOOST_EXPLICIT_TEMPLATE_NON_TYPE(int, n)) { ... }
00460 //
00461 //   template <typename T>
00462 //   void g(BOOST_EXPLICIT_TEMPLATE_TYPE(T)) { ... }
00463 //
00464 
00465 
00466 #if defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00467 
00468 #  include "sysc/packages/boost/type.hpp"
00469 #  include "sysc/packages/boost/non_type.hpp"
00470 
00471 #  define BOOST_EXPLICIT_TEMPLATE_TYPE(t)         boost::type<t>* = 0
00472 #  define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t)    boost::type<t>*
00473 #  define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v)  boost::non_type<t, v>* = 0
00474 #  define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)  boost::non_type<t, v>*
00475 
00476 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t)         \
00477              , BOOST_EXPLICIT_TEMPLATE_TYPE(t)
00478 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t)    \
00479              , BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t)
00480 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v)  \
00481              , BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v)
00482 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)  \
00483              , BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)
00484 
00485 #else
00486 
00487 // no workaround needed: expand to nothing
00488 
00489 #  define BOOST_EXPLICIT_TEMPLATE_TYPE(t)
00490 #  define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t)
00491 #  define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v)
00492 #  define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)
00493 
00494 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t)
00495 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t)
00496 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v)
00497 #  define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v)
00498 
00499 
00500 #endif // defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00501 
00502 
00503 // ---------------------------------------------------------------------------//
00504 
00505 //
00506 // Helper macro BOOST_STRINGIZE:
00507 // Converts the parameter X to a string after macro replacement
00508 // on X has been performed.
00509 //
00510 #define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
00511 #define BOOST_DO_STRINGIZE(X) #X
00512 
00513 //
00514 // Helper macro BOOST_JOIN:
00515 // The following piece of macro magic joins the two
00516 // arguments together, even when one of the arguments is
00517 // itself a macro (see 16.3.1 in C++ standard).  The key
00518 // is that macro expansion of macro arguments does not
00519 // occur in BOOST_DO_JOIN2 but does in BOOST_DO_JOIN.
00520 //
00521 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
00522 #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y)
00523 #define BOOST_DO_JOIN2( X, Y ) X##Y
00524 
00525 //
00526 // Set some default values for compiler/library/platform names.
00527 // These are for debugging config setup only:
00528 //
00529 #  ifndef BOOST_COMPILER
00530 #     define BOOST_COMPILER "Unknown ISO C++ Compiler"
00531 #  endif
00532 #  ifndef BOOST_STDLIB
00533 #     define BOOST_STDLIB "Unknown ISO standard library"
00534 #  endif
00535 #  ifndef BOOST_PLATFORM
00536 #     if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \
00537          || defined(_POSIX_SOURCE)
00538 #        define BOOST_PLATFORM "Generic Unix"
00539 #     else
00540 #        define BOOST_PLATFORM "Unknown"
00541 #     endif
00542 #  endif
00543 
00544 #endif
00545 
00546 
00547 

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5