]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/engine/check_cxx11.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / src / engine / check_cxx11.cpp
CommitLineData
f67539c2
TL
1/* Copyright 2020 Rene Rivera
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
4 */
5
6/*
7This program is a compile test for support of C++11. If it compiles
8successfully some key parts of C++11 the B2 engine requires are
9available. This is used by the build script to guess and check the
10compiler to build the engine with.
11*/
12
13// Some headers we depend on..
14#include <thread>
15
16
17int main()
18{
19 // Check for basic thread calls.
20 { auto _ = std::thread::hardware_concurrency(); }
21}