[interprocess::offset_ptr] operator>> error in boost_1_46_1

1 Mar
2012
1 Mar
'12
6:12 p.m.
#include <boost/interprocess/offset_ptr.hpp> I use boost_1_46_1, boost::interprocess::offset_ptr<int> p; std::cin >> p; // error!! offset_ptr.hpp std::ptrdiff_t get_offset() const { return internal.m_offset; } //!operator>> //!for offset ptr template<class E, class T, class Y> inline std::basic_istream<E, T> & operator>> (std::basic_istream<E, T> & is, offset_ptr<Y> & p) { return is >> p.get_offset(); }
4858
Age (days ago)
4858
Last active (days ago)
0 comments
1 participants
participants (1)
-
乔志强