]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/test/sequence/deque_is_constructible.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / deque_is_constructible.cpp
1 /*=============================================================================
2 Copyright (c) 2015 Louis Dionne
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
8 #include <boost/config.hpp>
9
10 #ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS
11 #include <type_traits>
12 #include <boost/fusion/include/deque.hpp>
13
14
15 struct Dummy { };
16
17 // Make sure deque's constructor is SFINAE-friendly.
18 static_assert(!std::is_constructible<boost::fusion::deque<int>, Dummy const&>::value, "");
19
20 #endif
21