boost: [skip ci] prepare fix for boost < 1.68
This commit is contained in:
21
src/boost_bind_bind.hpp
Normal file
21
src/boost_bind_bind.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
// Workaround for boost older than 1.60
|
||||
#ifndef BOOST_BIND_BIND_HPP_INCLUDED
|
||||
#include <boost/bind/bind.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#if (BOOST_VERSION < 106000)
|
||||
namespace boost { namespace placeholders {
|
||||
using ::_1;
|
||||
using ::_2;
|
||||
using ::_3;
|
||||
using ::_4;
|
||||
using ::_5;
|
||||
using ::_6;
|
||||
using ::_7;
|
||||
using ::_8;
|
||||
using ::_9;
|
||||
}};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user