mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-17 06:12:18 +02:00
18 lines
600 B
C++
18 lines
600 B
C++
![]() |
/*=============================================================================
|
||
|
Copyright (c) 2015 Louis Dionne
|
||
|
|
||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||
|
==============================================================================*/
|
||
|
|
||
|
#include <type_traits>
|
||
|
#include <boost/fusion/include/deque.hpp>
|
||
|
|
||
|
|
||
|
struct Dummy { };
|
||
|
|
||
|
// Make sure deque's constructor is SFINAE-friendly.
|
||
|
static_assert(!std::is_constructible<boost::fusion::deque<int>, Dummy const&>::value, "");
|
||
|
|
||
|
int main() { }
|