|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48579 - trunk/boost/exception/detail
From: emil_at_[hidden]
Date: 2008-09-04 15:36:34
Author: emildotchevski
Date: 2008-09-04 15:36:34 EDT (Thu, 04 Sep 2008)
New Revision: 48579
URL: http://svn.boost.org/trac/boost/changeset/48579
Log:
minor boost/exception/detail/type_info.hpp fix.
Text files modified:
trunk/boost/exception/detail/type_info.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/exception/detail/type_info.hpp
==============================================================================
--- trunk/boost/exception/detail/type_info.hpp (original)
+++ trunk/boost/exception/detail/type_info.hpp 2008-09-04 15:36:34 EDT (Thu, 04 Sep 2008)
@@ -17,7 +17,11 @@
char const *
type_name()
{
+#ifdef BOOST_NO_TYPEID
return BOOST_CURRENT_FUNCTION;
+#else
+ return typeid(T).name();
+#endif
}
namespace
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