From c63ac587367e5044581df696d8ea4c040c23495a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 18 Apr 2001 11:28:53 +0000 Subject: [PATCH] added integral constant expression links, added tentative fix to is_function_test for older EDG based compilers [SVN r9833] --- index.htm | 7 ++++++- tests/is_function_test.cpp | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.htm b/index.htm index 4256baa..e07fc4a 100644 --- a/index.htm +++ b/index.htm @@ -35,7 +35,12 @@ first.

Type traits headers Example Code -

 

+

All of the integral expressions in this library are integral +constant expressions, these can sometimes cause compiler +problems in use, so there is a related set of coding +guidelines to help you write portable code using this library.

Primary Type Categorisation

diff --git a/tests/is_function_test.cpp b/tests/is_function_test.cpp index 8e4a40c..3431602 100644 --- a/tests/is_function_test.cpp +++ b/tests/is_function_test.cpp @@ -8,7 +8,7 @@ #include "boost/type_traits/type_traits_test.hpp" template -#ifndef __BORLANDC__ +#if !defined(__BORLANDC__) && !defined(__sgi) && !defined(__DECCXX) void is_function_test(T& foo) #else void is_function_test(const T& foo)