Menu

#26 shared_ptr<foo> generates unexposed warning

open
nobody
None
5
2011-05-18
2011-05-18
No

Roman,

Per our discussion on ml, opening a bug for unexposed declaration warning generated for shared_ptr<foo> even if it was exposed automagically by Py++. Here is a sample code:

--------
#include <boost/shared_ptr.hpp>
class foo1;
typedef boost::shared_ptr<foo1> foo1_ptr_t;

class foo1
{
public:
foo1_ptr_t parent() const{return foo1_ptr_t(new foo1);}
};
--------

Discussion


Log in to post a comment.