bind.hpp 936 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef BOOST_BIND_HPP_INCLUDED
  2. #define BOOST_BIND_HPP_INCLUDED
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. //
  8. // bind.hpp - binds function objects to arguments
  9. //
  10. // Copyright (c) 2009, 2015 Peter Dimov
  11. //
  12. // Distributed under the Boost Software License, Version 1.0.
  13. // See accompanying file LICENSE_1_0.txt or copy at
  14. // http://www.boost.org/LICENSE_1_0.txt
  15. //
  16. // See http://www.boost.org/libs/bind/bind.html for documentation.
  17. //
  18. #include <boost/bind/bind.hpp>
  19. #ifndef BOOST_BIND_NO_PLACEHOLDERS
  20. #if defined(BOOST_CLANG)
  21. # pragma clang diagnostic push
  22. # if __has_warning("-Wheader-hygiene")
  23. # pragma clang diagnostic ignored "-Wheader-hygiene"
  24. # endif
  25. #endif
  26. using namespace boost::placeholders;
  27. #if defined(BOOST_CLANG)
  28. # pragma clang diagnostic pop
  29. #endif
  30. #endif // #ifndef BOOST_BIND_NO_PLACEHOLDERS
  31. #endif // #ifndef BOOST_BIND_HPP_INCLUDED