Vote count:
0
How do i make a default constructed boost::shared_ptr as a null pointer? Is it right to do as follows:
boost::shared_ptr< ModuleStubSocket_C > socket_stub;
socket_stub = boost::shared_ptr< ModuleStubSocket_C >();
Does now socket_stub is NULL?
asked 42 secs ago
How to write boost::shared_ptr as null?
Aucun commentaire:
Enregistrer un commentaire