Brian Silverman | ce4aa8d | 2018-08-04 23:36:03 -0700 | [diff] [blame^] | 1 | // |
2 | // arg_copy_fail.cpp - arg<1> to arg<2> | ||||
3 | // | ||||
4 | // Copyright 2016 Peter Dimov | ||||
5 | // | ||||
6 | // Distributed under the Boost Software License, Version 1.0. | ||||
7 | // See accompanying file LICENSE_1_0.txt or copy at | ||||
8 | // http://www.boost.org/LICENSE_1_0.txt | ||||
9 | // | ||||
10 | |||||
11 | #include <boost/bind/arg.hpp> | ||||
12 | |||||
13 | // | ||||
14 | |||||
15 | int main() | ||||
16 | { | ||||
17 | boost::arg<1> a1(( boost::arg<2>() )); | ||||
18 | (void)a1; | ||||
19 | } |