bind.hpp 943 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * [begin_description]
  3. * Boost bind pull the placeholders, _1, _2, ... into global
  4. * namespace. This can conflict with the C++03 TR1 and C++11
  5. * std::placeholders. This header provides a workaround for
  6. * this problem.
  7. * [end_description]
  8. *
  9. * Copyright 2012 Christoph Koke
  10. * Copyright 2012 Karsten Ahnert
  11. *
  12. * Distributed under the Boost Software License, Version 1.0.
  13. * (See accompanying file LICENSE_1_0.txt or
  14. * copy at http://www.boost.org/LICENSE_1_0.txt)
  15. * */
  16. #ifndef BOOST_NUMERIC_ODEINT_UTIL_BIND_HPP_INCLUDED
  17. #define BOOST_NUMERIC_ODEINT_UTIL_BIND_HPP_INCLUDED
  18. #include <functional>
  19. namespace boost {
  20. namespace numeric {
  21. namespace odeint {
  22. namespace detail {
  23. using std::bind;
  24. using namespace std::placeholders;
  25. } //namespace detail
  26. } //namespace odeint
  27. } //namespace numeric
  28. } //namespace boost
  29. #endif // BOOST_NUMERIC_ODEINT_UTIL_BIND_HPP_INCLUDED