David Abrahams wrote:
MPL's implementation (boost/mpl/aux_/has_xxx.hpp) is
known to work on Comeau, Intel (all versions), MSVC (all versions),
Metroweks 8.3/8.2 and GCC 3.2. There is no known way to make it
work on Borland. You can test it against any other compiler by
trying out
Aleksey Gurtovoy [EMAIL PROTECTED] writes:
David Abrahams wrote:
MPL's implementation (boost/mpl/aux_/has_xxx.hpp) is
known to work on Comeau, Intel (all versions), MSVC (all versions),
Metroweks 8.3/8.2 and GCC 3.2. There is no known way to make it
work on Borland. You can test it
David B. Held wrote:
In C++ Templates: The Complete Guide (Recommended), they give
this example on pages 106-107:
typedef char RT1;
typedef struct {char a[2];} RT2;
templatetypename T RT1 test(typename T::X const*);
templatetypename T RT2 test(...);
#define
Aleksey Gurtovoy [EMAIL PROTECTED] writes:
David B. Held wrote:
In C++ Templates: The Complete Guide (Recommended), they give
this example on pages 106-107:
typedef char RT1;
typedef struct {char a[2];} RT2;
templatetypename T RT1 test(typename T::X const*);
templatetypename T
David Abrahams [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
[...]
I don't know... well, it could detect whether there was a ::type
member,
[...]
Really??? Is it possible to detect the presence of a typedef without
generating an error? How do you do this?
-Original Message-
From: David B. Held [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 10:56 AM
To: [EMAIL PROTECTED]
Subject: [boost] Re: [MPL] Making Generators
David Abrahams [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
- Original Message -
From: David B. Held [EMAIL PROTECTED]
Jon Kalb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
icrosoft.com...
[...]
Vandevoorde and Josuttis call it SFINAE, substitution failute is not an
error.
Ah, I've heard of this, but didn't realize what it