12 Oct 15:00
Complie error: 'make_shared’ was not declared in this scope
From: Michael Chen <cszzys <at> gmail.com>
Subject: Complie error: 'make_shared’ was not declared in this scope
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-10-12 13:04:33 GMT
Subject: Complie error: 'make_shared’ was not declared in this scope
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-10-12 13:04:33 GMT
Hi everyone
I meet this error:
"class.cpp:89: error: no matching function for call to 'make_shared(const boost::weak_ptr<zeitgeist::Core>&)'
and the code is:
return make_shared(mCore);
I'm using gcc 4.3.1 and boost 1.36.0. I tried to solve the problem by using shared_ptr<Core>(mCore) but got
a run-time error. Could someone help me?
I meet this error:
"class.cpp:89: error: no matching function for call to 'make_shared(const boost::weak_ptr<zeitgeist::Core>&)'
and the code is:
return make_shared(mCore);
I'm using gcc 4.3.1 and boost 1.36.0. I tried to solve the problem by using shared_ptr<Core>(mCore) but got
a run-time error. Could someone help me?
_______________________________________________ Boost-users mailing list Boost-users <at> lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
RSS Feed