1/*
2Copyright Rene Rivera 2011-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_LIBRARY_STD_CXX_H
9#define BOOST_PREDEF_LIBRARY_STD_CXX_H
10
11#include <boost/predef/library/std/_prefix.h>
12
13#include <boost/predef/version_number.h>
14#include <boost/predef/make.h>
15
16/* tag::reference[]
17= `BOOST_LIB_STD_CXX`
18
19http://libcxx.llvm.org/[libc++] {CPP} Standard Library.
20
21[options="header"]
22|===
23| {predef_symbol} | {predef_version}
24
25| `+_LIBCPP_VERSION+` | {predef_detection}
26
27| `+_LIBCPP_VERSION+` | V.0.P
28|===
29*/ // end::reference[]
30
31#define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE
32
33#if defined(_LIBCPP_VERSION)
34# undef BOOST_LIB_STD_CXX
35# define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VPPP(_LIBCPP_VERSION)
36#endif
37
38#if BOOST_LIB_STD_CXX
39# define BOOST_LIB_STD_CXX_AVAILABLE
40#endif
41
42#define BOOST_LIB_STD_CXX_NAME "libc++"
43
44#endif
45
46#include <boost/predef/detail/test.h>
47BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_CXX,BOOST_LIB_STD_CXX_NAME)
48

source code of include/boost/predef/library/std/cxx.h