Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-09-17 14:33:22


Author: dgregor
Date: 2007-09-17 14:33:20 EDT (Mon, 17 Sep 2007)
New Revision: 39353
URL: http://svn.boost.org/trac/boost/changeset/39353

Log:
Support Win64
Text files modified:
   trunk/boost/concept_check.hpp | 11 +++++++++++
   1 files changed, 11 insertions(+), 0 deletions(-)

Modified: trunk/boost/concept_check.hpp
==============================================================================
--- trunk/boost/concept_check.hpp (original)
+++ trunk/boost/concept_check.hpp 2007-09-17 14:33:20 EDT (Mon, 17 Sep 2007)
@@ -83,6 +83,11 @@
   template <> struct Integer<unsigned long> {};
   // etc.
 
+#ifdef _WIN64
+ template <> struct Integer<__int64> {};
+ template <> struct Integer<unsigned __int64> {};
+#endif
+
   BOOST_concept(SignedInteger,(T)) {
 #if BOOST_WORKAROUND(__GNUC__, <= 3)
     SignedInteger(); // at least 2.96 and 3.4.3 both need this :(
@@ -101,6 +106,9 @@
   template <> struct SignedInteger< ::boost::long_long_type> {};
   // etc.
 #endif
+#ifdef _WIN64
+ template <> struct SignedInteger<__int64> {};
+#endif
 
   BOOST_concept(UnsignedInteger,(T)) {
 #if BOOST_WORKAROUND(__GNUC__, <= 3)
@@ -121,6 +129,9 @@
   template <> struct UnsignedInteger< ::boost::ulong_long_type> {};
   // etc.
 #endif
+#ifdef _WIN64
+ template <> struct UnsignedInteger<unsigned __int64> {};
+#endif
 
   // etc.
 


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