Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80143 - trunk/boost/config/compiler
From: marshall_at_[hidden]
Date: 2012-08-22 14:21:30


Author: marshall
Date: 2012-08-22 14:21:29 EDT (Wed, 22 Aug 2012)
New Revision: 80143
URL: http://svn.boost.org/trac/boost/changeset/80143

Log:
Noted that VS2012 has TR1 unordered map and set; thanks to NuSkooler for testing
Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2012-08-22 14:21:29 EDT (Wed, 22 Aug 2012)
@@ -184,6 +184,16 @@
 #endif
 
 //
+// TR1 features:
+//
+#if _MSC_VER >= 1700
+// # define BOOST_HAS_TR1_HASH // don't know if this is true yet.
+// # define BOOST_HAS_TR1_TYPE_TRAITS // don't know if this is true yet.
+# define BOOST_HAS_TR1_UNORDERED_MAP
+# define BOOST_HAS_TR1_UNORDERED_SET
+#endif
+
+//
 // C++0x features
 //
 // See above for BOOST_NO_LONG_LONG


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