Re: [boost] is_polymorphic and unions (was: Pyste and STL types)

2003-03-19 Thread John Maddock
> >>Is this happening somewhere in the type traits code? Can you post an > >>instantiation backtrace? > >> > > > > It seems to be. Here's the error message: > > I guess the question here is: "should > is_polymorphic::value compile?" > > If so, then we have a bug in is_polymorphic. If not, we shou

Re: [boost] is_polymorphic and unions

2003-03-18 Thread Nicodemus
David Abrahams wrote: Nicodemus <[EMAIL PROTECTED]> writes: I did it, but it didn't work. is_class::value evaluates to true. 8/ I believe that is_polymorphic::value should evaluate to false, since unions can't be polymorphic. Sure, but if we don't have a way to reliably distinguish unions

Re: [boost] is_polymorphic and unions

2003-03-18 Thread David Abrahams
Nicodemus <[EMAIL PROTECTED]> writes: > I did it, but it didn't work. is_class::value evaluates to > true. 8/ > > I believe that is_polymorphic::value should evaluate to > false, since unions can't be polymorphic. Sure, but if we don't have a way to reliably distinguish unions from classes, we're

Re: [boost] is_polymorphic and unions

2003-03-18 Thread Nicodemus
David Abrahams wrote: Nicodemus <[EMAIL PROTECTED]> writes: Is this happening somewhere in the type traits code? Can you post an instantiation backtrace? It seems to be. Here's the error message: I guess the question here is: "should is_polymorphic::value compile?" If so, then we