test_13561.cpp 432 B

1234567891011121314151617
  1. // Copyright (C) 2018 Vicente Botet
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #define BOOST_THREAD_VERSION 4
  6. #include <boost/thread/detail/nullary_function.hpp>
  7. #include <boost/system/detail/error_code.ipp>
  8. int main(int argc, char* argv[])
  9. {
  10. boost::detail::nullary_function<void ()> f1;
  11. auto f2 = f1;
  12. }