]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/parameter/test/deduced_unmatched_arg.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / parameter / test / deduced_unmatched_arg.cpp
CommitLineData
7c673cae
FG
1// Copyright Daniel Wallin 2006. Use, modification and distribution is
2// subject to the Boost Software License, Version 1.0. (See accompanying
3// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5#include <boost/parameter/parameters.hpp>
6#include <boost/parameter/name.hpp>
7
8namespace parameter = boost::parameter;
9namespace mpl = boost::mpl;
10
11BOOST_PARAMETER_NAME(x)
12
13int main()
14{
15 using namespace parameter;
16 using boost::is_convertible;
17 using mpl::_;
18
19 parameters<
20 optional<
21 deduced<tag::x>, is_convertible<_,int>
22 >
23 >()("foo");
24}
25