From 5be4a0cd412cf7e514e14d64f758d54cbb4d15f9 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Mon, 22 Jan 2001 17:10:16 +0000 Subject: [PATCH] changed default of BOOST_FPTR to use & [SVN r8710] --- include/boost/concept_check.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index 68e43e6..31568a5 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -14,10 +14,10 @@ #include #include -#if (__GNUC__) || defined(__KCC) || defined(__ghs) || defined(__MWERKS__) -#define BOOST_FPTR & -#else +#if defined(BOOST_MSVC) || defined(__BORLANDC__) #define BOOST_FPTR +#else +#define BOOST_FPTR & #endif namespace boost { @@ -131,9 +131,10 @@ struct require_same { typedef T type; }; struct UnsignedIntegerConcept { void constraints() { #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - errortype_must_be_an_unsigned_integer_type(); + x.error_type_must_be_an_unsigned_integer_type(); #endif } + T x; }; #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template <> struct UnsignedIntegerConcept