Boost logo

Boost :

Subject: Re: [boost] [mpl] has_function
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-03-21 14:30:44


Lorenzo Caminiti wrote:

> Is there a way I can check if a class has a given member function
> using metaprogramming?

Yes.

>
> What I need is to check at compile-time if a function is overriding a
> virtual function or not.

This is not the same, and there is no way to do that as far as I know.


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