|
Boost-Commit : |
From: oryol_at_[hidden]
Date: 2008-02-14 13:06:45
Author: jeremypack
Date: 2008-02-14 13:06:45 EST (Thu, 14 Feb 2008)
New Revision: 43250
URL: http://svn.boost.org/trac/boost/changeset/43250
Log:
Use address of type_info on supported platforms.
Text files modified:
sandbox/boost/extension/impl/typeinfo.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/boost/extension/impl/typeinfo.hpp
==============================================================================
--- sandbox/boost/extension/impl/typeinfo.hpp (original)
+++ sandbox/boost/extension/impl/typeinfo.hpp 2008-02-14 13:06:45 EST (Thu, 14 Feb 2008)
@@ -44,17 +44,17 @@
namespace boost { namespace extensions {
bool operator<(const default_type_info& first,
const default_type_info& second) {
- return first.type.name() < second.type.name();
+ return &first.type < &second.type;
}
bool operator==(const default_type_info& first,
const default_type_info& second) {
- return first.type.name() == second.type.name();
+ return &first.type == &second.type;
}
bool operator>(const default_type_info& first,
const default_type_info& second) {
- return first.type.name() > second.type.name();
+ return &first.type > &second.type;
}
}}
#else
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