Boost logo

Boost :

Subject: Re: [boost] [Proto][Phoenix] Use default transform with SFINAE for expressions?
From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2010-09-12 15:51:06


On Sat, Sep 11, 2010 at 8:40 PM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> I would quite like it if polymorphic function objects created by Phoenix
> could restrict overload resolution to types for which their function body is
> valid, using SFINAE for expressions.

This is the holy grail of C++ generic programming. :-) It would allow
you to overload on concepts.

Daniel Walker


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