John Maddock | 1 Nov 2008 10:36
Picon

Re: [type-traits] virtual function type trait check

Chris wrote:
>> I was wondering if it were possible to make a is_virtual_function
>> type
>> trait check.

Interesting challenge!  Off the top of my head I can't see any way of doing 
this... but I'm sure someone will jump in with an idea or two?

John. 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Chris | 2 Nov 2008 06:08
Picon
Favicon

Re: [type-traits] virtual function type trait check

I'm no expert in type traits.  For this is there a way to combine:
SFINAE
extending from a class and making a function with the same signature and 
adding "static" will cause an error (can't do that for virtual functions)
enable_if
specialization
...?

John Maddock wrote:
> Chris wrote:
>>> I was wondering if it were possible to make a is_virtual_function
>>> type
>>> trait check.
>
> Interesting challenge!  Off the top of my head I can't see any way of 
> doing this... but I'm sure someone will jump in with an idea or two?
>
> John.
> _______________________________________________
> Unsubscribe & other changes: 
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane