Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-10-16 16:59:49


Klaus Backert:

...

> I get the following warning:
> /usr/local/include/boost/shared_ptr.hpp: In instantiation of
> 'boost::shared_ptr<std::string>':
> /Volumes/blablabla/MyClass.cpp:81: instantiated from here
> /usr/local/include/boost/shared_ptr.hpp:131: warning: 'class
> boost::shared_ptr<std::string>' has pointer data members
> /usr/local/include/boost/shared_ptr.hpp:131: warning: but does not
> override 'boost::shared_ptr<std::string>(const
> boost::shared_ptr<std::string>&)'

...

> Can I ignore the warnings or should I do something?

Yes, I think that you can safely ignore the warnings in this particular
case.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net