Opened 15 years ago
Closed 15 years ago
#1105 closed Feature Requests (fixed)
Add BOOST_NO_STD_TYPEINFO or inject ::type_info into std
Reported by: | Peter Dimov | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | config |
Version: | Severity: | Problem | |
Keywords: | Cc: |
Description
// MACRO: BOOST_NO_STD_TYPEINFO // TITLE: type_info not in namespace std // DESCRIPTION: The <typeinfo> header declares type_info in the global namespace instead of std #include <typeinfo> namespace boost_no_std_typeinfo { int test() { std::type_info * p = 0; return 0; } }
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.
Change History (2)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Note:
See TracTickets
for help on using tickets.
Added to SVN trunk, will leave open till it's merged with 1.35 release branch (when we have one).