<div class="gmail_quote"><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Hi <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34)">Ion</span> (and everyone else),<br>
<br>I&#39;m a newbye and I have only one simple question:<br>how can I construct a shared_ptr in a non-throwing mode?<br><br>This example throw if there is enough space for MyType but isn&#39;t<br>enough for my_shared_ptr:<br>

<br>typedef managed_shared_ptr&lt;MyType,managed_shared_memory&gt;::type my_shared_ptr;<br>my_shared_ptr sh_ptr = make_managed_shared_ptr(<br>    segment.construct&lt;MyType&gt;(&quot;object to share&quot;, std::nothrow)(), segment);<br>

<br>Thanks,</span><div>Pietro Versari</div></div>

