Boost C++ Libraries: Ticket #2608: shared_ptr_132.hpp introduces "using namespace boost" when included https://svn.boost.org/trac10/ticket/2608 <p> On VC8.0 SP1 the following code compiles correctly wheras it shouldn't: </p> <pre class="wiki">#include &lt;boost/archive/text_iarchive.hpp&gt; void main(int,char**) { //example 1 boost::shared_ptr&lt;int&gt; sp1; //this is ok shared_ptr&lt;int&gt; sp2; //this shouldn't compile! namespace 'boost' was used! //example 2 boost::array&lt;int,5&gt; arr1; //this is ok array&lt;int,5&gt; arr2; //this shouldn't compile! namespace 'boost' was used! } </pre><p> Please note that the symbol "array" conflicts with C++ CLI cli::array. This prevents correct compilation in /clr mode. This ticket is related to ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1285" title="#1285: Bugs: [serialization] problem when including shared_ptr_132.hpp (closed: fixed)">#1285</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2608 Trac 1.4.3 Robert Ramey Tue, 30 Dec 2008 19:02:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2608#comment:1 https://svn.boost.org/trac10/ticket/2608#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> THis has been fixed in 1.37 </p> <p> Robert Ramey </p> Ticket