ゴミ箱
config.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_CONFIG_HPP
11 #define BOOST_BEAST_CONFIG_HPP
12 
13 // Available to every header
14 #include <boost/config.hpp>
15 #include <boost/core/ignore_unused.hpp>
16 #include <boost/static_assert.hpp>
17 
18 /*
19  _MSC_VER and _MSC_FULL_VER by version:
20 
21  14.0 (2015) 1900 190023026
22  14.0 (2015 Update 1) 1900 190023506
23  14.0 (2015 Update 2) 1900 190023918
24  14.0 (2015 Update 3) 1900 190024210
25 */
26 
27 #if defined(BOOST_MSVC)
28 # if BOOST_MSVC_FULL_VER < 190024210
29 # error Beast requires C++11: Visual Studio 2015 Update 3 or later needed
30 # endif
31 
32 #elif defined(BOOST_GCC)
33 # if(BOOST_GCC < 40801)
34 # error Beast requires C++11: gcc version 4.8 or later needed
35 # endif
36 
37 #else
38 # if \
39  defined(BOOST_NO_CXX11_DECLTYPE) || \
40  defined(BOOST_NO_CXX11_HDR_TUPLE) || \
41  defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || \
42  defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
43 # error Beast requires C++11: a conforming compiler is needed
44 # endif
45 
46 #endif
47 
48 #endif