Boost C++ Libraries: Ticket #2346: [type_traits] Patches to improve support for CodeGear C++ Builder 2009 https://svn.boost.org/trac10/ticket/2346 <p> The attached patches fix workarounds for the latest <a class="missing wiki">CodeGear</a> (ex Borland) compiler. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2346 Trac 1.4.3 Nicola Musatti Thu, 18 Sep 2008 22:28:04 GMT attachment set https://svn.boost.org/trac10/ticket/2346 https://svn.boost.org/trac10/ticket/2346 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">libs_type_traits.patch</span> </li> </ul> Ticket John Maddock Fri, 19 Sep 2008 12:44:57 GMT status changed https://svn.boost.org/trac10/ticket/2346#comment:1 https://svn.boost.org/trac10/ticket/2346#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> That looks OK, but can you: </p> <p> 1) Add the new config macros to Boost.Config as well? Not sure about this, but I think we are using BOOST_NO_* names for C++0x features as well: obviously that means changing the logic quite a bit and patching more config files... :-( 2) Please use the MPL macros for defining the traits classes rather than inheriting from integral_constant directly? Much as I truely hate those macros, they are necessary for full MPL interoperability unfortunately :-( </p> <p> Cheers, John. </p> Ticket Nicola Musatti Sun, 05 Oct 2008 21:32:26 GMT attachment set https://svn.boost.org/trac10/ticket/2346 https://svn.boost.org/trac10/ticket/2346 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_type_traits.patch</span> </li> </ul> Ticket Nicola Musatti Sun, 05 Oct 2008 21:36:16 GMT <link>https://svn.boost.org/trac10/ticket/2346#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2346#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2346#comment:1" title="Comment 1">johnmaddock</a>: </p> <blockquote class="citation"> <p> That looks OK, but can you: </p> <p> 1) Add the new config macros to Boost.Config as well? Not sure about this, but I think we are using BOOST_NO_* names for C++0x features as well: obviously that means changing the logic quite a bit and patching more config files... :-( </p> </blockquote> <p> I ended up removing those I hadn't already submitted a patch for. </p> <blockquote class="citation"> <p> 2) Please use the MPL macros for defining the traits classes rather than inheriting from integral_constant directly? Much as I truely hate those macros, they are necessary for full MPL interoperability unfortunately :-( </p> </blockquote> <p> I just replaced the boost_type_traits.patch file with a new one. I changed the implementation approach to use intrinsics.hpp as much as possible and then I tried to be as little intrusive as I could. The resulting patch reduces type_traits failing tests to 4 for the bcc32 6.1.0 compiler. Let me know if you consider it acceptable. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 07 Oct 2008 10:33:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2346#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2346#comment:3</guid> <description> <p> Thanks that looks fine - just one small query - for what compiler versions (and where) are you defining BOOST_ILLEGAL_CV_REFERENCES ? </p> <p> Cheers, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Nicola Musatti</dc:creator> <pubDate>Tue, 07 Oct 2008 11:11:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2346#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2346#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2346#comment:3" title="Comment 3">anonymous</a>: </p> <blockquote class="citation"> <p> Thanks that looks fine - just one small query - for what compiler versions (and where) are you defining BOOST_ILLEGAL_CV_REFERENCES ? </p> </blockquote> <p> That's defined in config/compiler/borland.hpp and applies to all versions of the compiler except the last one. </p> <p> Cheers, Nicola </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Nicola Musatti</dc:creator> <pubDate>Fri, 24 Oct 2008 14:42:06 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2346#comment:5 https://svn.boost.org/trac10/ticket/2346#comment:5 <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> John applied my patches and merged them into the release branch a while ago. </p> Ticket