|
||||
File indexing completed on 2025-01-18 09:48:05
0001 /* 0002 Copyright Henrik S. Gaßmann 2023 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_MSVC_H 0009 #define BOOST_PREDEF_LIBRARY_STD_MSVC_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_MSVC` 0018 0019 https://github.com/microsoft/STL[Microsoft's {CPP} Standard Library]. 0020 If available version number as major, minor, and patch. 0021 The patch number is derived from `_MSVC_STL_UPDATE` by taking its five last 0022 digits (see below). This implies that pasting a `_MSVC_STL_UPDATE` value into 0023 `BOOST_VERSION_NUMBER` will produce a version number that is directly comparable 0024 to `BOOST_LIB_STD_MSVC`. 0025 0026 [options="header"] 0027 |=== 0028 | {predef_symbol} | {predef_version} 0029 0030 | `+_MSVC_STL_VERSION+` | {predef_detection} 0031 0032 | `+_MSVC_STL_VERSION+` | VV.R.0 0033 | `+_MSVC_STL_UPDATE+` | 00.0.0YYYMM 0034 |=== 0035 */ // end::reference[] 0036 0037 #define BOOST_LIB_STD_MSVC BOOST_VERSION_NUMBER_NOT_AVAILABLE 0038 0039 #if defined(_MSVC_STL_VERSION) 0040 # undef BOOST_LIB_STD_MSVC 0041 # define BOOST_LIB_STD_MSVC BOOST_PREDEF_MAKE_10_VVR_0PPPPP(_MSVC_STL_VERSION, _MSVC_STL_UPDATE) 0042 #endif 0043 0044 #if BOOST_LIB_STD_MSVC 0045 # define BOOST_LIB_STD_MSVC_AVAILABLE 0046 #endif 0047 0048 #define BOOST_LIB_STD_MSVC_NAME "Microsoft stdlib" 0049 0050 #endif 0051 0052 #include <boost/predef/detail/test.h> 0053 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSVC, BOOST_LIB_STD_MSVC_NAME)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |