Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65843 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2010-10-08 16:35:44


Author: eric_niebler
Date: 2010-10-08 16:35:43 EDT (Fri, 08 Oct 2010)
New Revision: 65843
URL: http://svn.boost.org/trac/boost/changeset/65843

Log:
support non-rtti compilers
Text files modified:
   trunk/boost/proto/debug.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/proto/debug.hpp
==============================================================================
--- trunk/boost/proto/debug.hpp (original)
+++ trunk/boost/proto/debug.hpp 2010-10-08 16:35:43 EDT (Fri, 08 Oct 2010)
@@ -19,6 +19,7 @@
 #include <boost/proto/matches.hpp>
 #include <boost/proto/fusion.hpp>
 #include <boost/fusion/algorithm/iteration/for_each.hpp>
+#include <boost/detail/sp_typeinfo.hpp>
 
 namespace boost { namespace proto
 {
@@ -96,7 +97,7 @@
         template<typename Tag>
         std::ostream &operator <<(ostream_wrapper sout_wrap, Tag const &)
         {
- return sout_wrap.sout_ << typeid(Tag).name();
+ return sout_wrap.sout_ << BOOST_SP_TYPEID(Tag).name();
         }
     }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk