123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef BOOST_BIND_HPP_INCLUDED
- #define BOOST_BIND_HPP_INCLUDED
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- # pragma once
- #endif
- #include <boost/bind/bind.hpp>
- #include <boost/config/pragma_message.hpp>
- #ifndef BOOST_BIND_NO_PLACEHOLDERS
- #if !defined(BOOST_BIND_GLOBAL_PLACEHOLDERS)
- BOOST_PRAGMA_MESSAGE(
- "The practice of declaring the Bind placeholders (_1, _2, ...) "
- "in the global namespace is deprecated. Please use "
- "<boost/bind/bind.hpp> + using namespace boost::placeholders, "
- "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior."
- )
- #endif
- #if defined(BOOST_CLANG)
- # pragma clang diagnostic push
- # if __has_warning("-Wheader-hygiene")
- # pragma clang diagnostic ignored "-Wheader-hygiene"
- # endif
- #endif
- using namespace boost::placeholders;
- #if defined(BOOST_CLANG)
- # pragma clang diagnostic pop
- #endif
- #endif
- #endif
|