$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: dick.bridges_at_[hidden]
Date: 2003-04-23 17:46:47
What is the 'correct' way to return a NULL/empty shared_ptr? For example,
this works
<snippet>
shared_ptr<int> maybe_get_a_pointer()
{
shared_ptr<int> p;
return(p);
}
</snippet>
but seems 'klunky'. I've clearly missed something in the docs/examples
somewhere. Can someone point me in the right direction?
TIA