Boost logo

Boost :

Subject: Re: [boost] [type-traits] virtual function type trait check
From: Chris (indy271828_at_[hidden])
Date: 2008-11-02 01:08:48


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
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk