The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
typedef basic_path< std::wstring, wpath_traits > wpath;
#include <boost/filesystem.hpp>namespace bfs = boost::filesystem;int main(void){ boost::filesystem::wpath a; // not detected by cc, but "Find declaration of: wpath" hits the right line on 10.05. bfs::wpath b; // not detected by cc return 0;}
#include <boost/shared_ptr.hpp>class Dummy{ Dummy(); int m_dummy;};typedef boost::shared_ptr<Dummy> DummyPtr;int main(void){ DummyPtr ptrDummy = DummyPtr(new Dummy()); ptrDummy->m_dummy; // Does not work. Shows members of boost::shared_ptr instead of Dummy. ptrDummy.get(); // Does the right. return 0;}
template<typename T> class shared_ptr;
Applied the patch and found wpath. Thank you. Still didn't found m_dummy.
You're welcome.Another example. Maybe another bug. Again boost 1.40 on Ubuntu 10.04 with revision 6650:Code#include <boost/shared_ptr.hpp>class Dummy{ Dummy(); int m_dummy;};typedef boost::shared_ptr<Dummy> DummyPtr;int main(void){ DummyPtr ptrDummy = DummyPtr(new Dummy()); ptrDummy->m_dummy; // Does not work. Shows members of boost::shared_ptr instead of Dummy. ptrDummy.get(); // Does the right. return 0;}Cc returns a list of all symbols of boost::shared_ptr, but not m_dummy on the "->" operator. The dot operator does the right.Codetemplate<typename T> class shared_ptr;Cheers!
May this be a consequence of overloading the "->" operator in boost::shared_ptr?
"ptrDummy->m_dummy" isn't fixed in rev. 6701, which subsequents nightly build of rev. 6688.May this be a consequence of overloading the "->" operator in boost::shared_ptr?