]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/test/sequence/deque_is_constructible.cpp
1 /*=============================================================================
2 Copyright (c) 2015 Louis Dionne
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 ==============================================================================*/
8 #include <boost/config.hpp>
10 #ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS
11 #include <type_traits>
12 #include <boost/fusion/include/deque.hpp>
17 // Make sure deque's constructor is SFINAE-friendly.
18 static_assert(!std::is_constructible
<boost::fusion::deque
<int>, Dummy
const&>::value
, "");