Boost C++ Libraries: Ticket #1105: Add BOOST_NO_STD_TYPEINFO or inject ::type_info into std https://svn.boost.org/trac10/ticket/1105 <pre class="wiki"> // MACRO: BOOST_NO_STD_TYPEINFO // TITLE: type_info not in namespace std // DESCRIPTION: The &lt;typeinfo&gt; header declares type_info in the global namespace instead of std #include &lt;typeinfo&gt; namespace boost_no_std_typeinfo { int test() { std::type_info * p = 0; return 0; } } </pre><p> A better alternative to this macro may be to inject ::type_info into namespace std in suffix.hpp, but we still need a way to detect that the compiler needs the workaround. So it might be best to do both. Unfortunately this may interfere with config_test. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1105 Trac 1.4.3 John Maddock Sat, 25 Aug 2007 12:29:01 GMT status changed https://svn.boost.org/trac10/ticket/1105#comment:1 https://svn.boost.org/trac10/ticket/1105#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Added to SVN trunk, will leave open till it's merged with 1.35 release branch (when we have one). </p> Ticket John Maddock Thu, 01 Nov 2007 17:10:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1105#comment:2 https://svn.boost.org/trac10/ticket/1105#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Now that we have a release branch and we know that most libs will be merged to it, I'm closing this one down as fixed. </p> Ticket