Use std::mem_fn, std::bind

This commit is contained in:
Peter Dimov committed 2019-11-05 18:58:02 +02:00
1 parent d6ac20c4fd
commit bf17d15d3c
2 files changed
+34

No files matched your search

+19
View File
@@ -21,6 +21,23 @@
// See http://www.boost.org/libs/bind/bind.html for documentation.
//
#if 1
#include <boost/ref.hpp>
#include <boost/mem_fn.hpp>
#include <functional>
namespace boost
{
using std::bind;
namespace placeholders = std::placeholders;
} // namespace boost
#else
#include <boost/config.hpp>
#include <boost/ref.hpp>
#include <boost/mem_fn.hpp>
@@ -2362,4 +2379,6 @@ BOOST_BIND( M T::*f, A1 a1 )
# pragma warning(pop)
#endif
#endif
#endif // #ifndef BOOST_BIND_BIND_HPP_INCLUDED