By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,395 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

Re: beginner question

P: n/a
Carter <ca*********@gmail.comwrote:
This is another beginner question. I am having problems debugging some
code I am getting the error:

vertex.C: In member function Œvoid vertex::set_chain_h(const
vertex.C:25: error: passing Œconst
std::auto_ptr<boost::shared_ptr<chainı as Œthisı argument of
Œstd::auto_ptr<_Tp>::operator std::auto_ptr_ref<_Tp1>() [w
ith _Tp1 = boost::shared_ptr<chain>, _Tp = boost::shared_ptr<chain>]ı
discards qualifiers
When you see "discards qualifiers", more often than not, it means that a
const object is begin asked to do something that only non-const objects
can do. I.E., the operation discards the const qualifier.
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.