This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.

[SVN r35193]
This commit is contained in:
nobody
2006-09-19 11:47:55 +00:00
parent 1f6c9a3034
commit fa751e022e

25
test/deduced_unmatched_arg.cpp Executable file
View File

@@ -0,0 +1,25 @@
// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to 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/name.hpp>
namespace parameter = boost::parameter;
namespace mpl = boost::mpl;
BOOST_PARAMETER_NAME(x)
int main()
{
using namespace parameter;
using boost::is_convertible;
using mpl::_;
parameters<
optional<
deduced<tag::x>, is_convertible<_,int>
>
>()("foo");
}