Subject: [Boost-bugs] [Boost C++ Libraries] #1104: Add BOOST_NO_TYPEID
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-21 18:18:00
#1104: Add BOOST_NO_TYPEID
------------------------------+---------------------------------------------
Reporter: pdimov | Owner: johnmaddock
Type: Feature Requests | Status: new
Milestone: Boost 1.35.0 | Component: config
Version: | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
{{{
// MACRO: BOOST_NO_TYPEID
// TITLE: typeid unavailable
// DESCRIPTION: The compiler does not support typeid in this mode
#include <typeinfo>
namespace boost_no_typeid
{
int test()
{
typeid(int);
return 0;
}
}
}}}
Note that this is not the same as "no RTTI". RTTI only comes into play
when typeid is used on an expression of a polymorphic type. Compilers may
(and do) still support typeid in "no RTTI" mode.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1104>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC