Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
0009 #define BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
0010 
0011 #include <boost/predef/library/std/_prefix.h>
0012 
0013 #include <boost/predef/version_number.h>
0014 #include <boost/predef/make.h>
0015 
0016 /* tag::reference[]
0017 = `BOOST_LIB_STD_GNU`
0018 
0019 https://gcc.gnu.org/onlinedocs/libstdc%2b%2b/[GNU libstdc++] Standard {CPP} library.
0020 Version number available as year (from 1970), month, and day.
0021 
0022 [options="header"]
0023 |===
0024 | {predef_symbol} | {predef_version}
0025 
0026 | `+__GLIBCXX__+` | {predef_detection}
0027 | `+__GLIBCPP__+` | {predef_detection}
0028 
0029 | `+__GLIBCXX__+` | V.R.P
0030 | `+__GLIBCPP__+` | V.R.P
0031 |===
0032 */ // end::reference[]
0033 
0034 #define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
0035 
0036 #if defined(__GLIBCPP__) || defined(__GLIBCXX__)
0037 #   undef BOOST_LIB_STD_GNU
0038 #   if defined(__GLIBCXX__)
0039 #       define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
0040 #   else
0041 #       define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
0042 #   endif
0043 #endif
0044 
0045 #if BOOST_LIB_STD_GNU
0046 #   define BOOST_LIB_STD_GNU_AVAILABLE
0047 #endif
0048 
0049 #define BOOST_LIB_STD_GNU_NAME "GNU"
0050 
0051 #endif
0052 
0053 #include <boost/predef/detail/test.h>
0054 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_GNU,BOOST_LIB_STD_GNU_NAME)