|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-11-10 00:57:43
Paul Mensonides wrote:
> ----- Original Message -----
> From: "Aleksey Gurtovoy" <agurtovoy_at_[hidden]>
>
> > Yes, I also happened to think that would be a preferred way to get
> > equivalent of the hypothetical '__is_well_formed(...)' functionality.
> >
> > However, assuming that we got that one or another way, my concern is
that
> > this alone would not be enough to implement the 'is_callable' trait we
> want.
> > (But then I am not sure what exactly we want :).
>
> You can already detect whether it has operator() (or any other member
> function for that matter). Is that what you want?
Hmm, Doug is better qualified to answer this question, but suppose that
detecting the presence of any number of 'operator()'-s is good enough. Would
you be able to implement that given the tweaked 14.8.2?
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk