parameter/test/deduced_unmatched_arg.cpp
CromwellEnage c465139bc2 Update deduced_unmatched_arg.cpp
* Normalize license wording.
* Add statements to #include header files that directly define components used in this test.
* Qualify by namespace vice using declarations.
2019-01-14 22:51:12 -05:00

26 lines
684 B
C++

// Copyright Daniel Wallin 2006.
// 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 <boost/parameter/parameters.hpp>
#include <boost/parameter/optional.hpp>
#include <boost/parameter/deduced.hpp>
#include <boost/parameter/name.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/type_traits/is_convertible.hpp>
BOOST_PARAMETER_NAME(x)
int main()
{
boost::parameter::parameters<
boost::parameter::optional<
boost::parameter::deduced<tag::x>
, boost::is_convertible<boost::mpl::_,int>
>
>()("foo");
return 0;
}