Re: [boost] Re: [MPL] Making Generators

2002-12-07 Thread David Abrahams
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

RE: [boost] Re: [MPL] Making Generators

2002-12-07 Thread Aleksey Gurtovoy
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 > > tryi

Re: [boost] Re: [MPL] Making Generators

2002-12-06 Thread David Abrahams
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; >> > template RT1 test(typename T::X const*); >> > temp

RE: [boost] Re: [MPL] Making Generators

2002-12-06 Thread Aleksey Gurtovoy
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; > > template RT1 test(typename T::X const*); > > template RT2 test(...); > > > > #define type_has_member_ty

Re: [boost] Re: [MPL] Making Generators

2002-12-05 Thread Paul Mensonides
- 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 di

RE: [boost] Re: [MPL] Making Generators

2002-12-05 Thread Jon Kalb
> -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 PROTECTE

Re: [boost] Re: [MPL] Making Generators

2002-12-05 Thread David Abrahams
"David B. Held" <[EMAIL PROTECTED]> writes: > "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 o