Hi,
boost::get_pointer(std::shared_ptr<T> const&) appears to be undefined on clang:
$ g++ c.cpp -std=c++11
$ clang c.cpp -std=c++11
c.cpp:7:2: error: no matching function for call to 'get_pointer'
boost::get_pointer(p);
^~~~~~~~~~~~~~~~~~
/usr/include/boost/ref.hpp:182:29: note: candidate template ignored: could not match 'reference_wrapper' against 'shared_ptr'
template<class T> inline T* get_pointer( reference_wrapper<T> const & r )
^
/usr/include/boost/get_pointer.hpp:20:23: note: candidate template ignored: could not match 'T *' against 'std::shared_ptr<int>'
template<class T> T * get_pointer(T * p)
^
/usr/include/boost/get_pointer.hpp:27:23: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^
1 error generated.
$ cat c.cpp
#include <boost/bind.hpp>
#include <memory>
int main()
{
std::shared_ptr<int> p;
boost::get_pointer(p);
return 0;
}