arg_copy_fail.cpp 349 B

12345678910111213141516171819
  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. #include <boost/bind/arg.hpp>
  11. //
  12. int main()
  13. {
  14. boost::arg<1> a1(( boost::arg<2>() ));
  15. (void)a1;
  16. }