10 #include "wvautoconf.h"
12 #if defined(HAVE_TR1_FUNCTIONAL)
14 #include <tr1/functional>
21 using std::tr1::function;
23 using std::tr1::shared_ptr;
27 using namespace std::tr1::placeholders;
30 #elif defined(HAVE_BOOST_FUNCTION_HPP)
32 #include <boost/bind.hpp>
33 #include <boost/function.hpp>
34 #include <boost/shared_ptr.hpp>
40 using boost::function;
42 using boost::shared_ptr;
46 #error "One of TR1 or Boost is required to use WvStreams"