
19 Aug
2013
19 Aug
'13
3:41 p.m.
On Mon, Aug 19, 2013 at 10:40 AM, Mathias Gaunard < mathias.gaunard@ens-lyon.org> wrote:
AFAIK this is indeed the only way to constrain template conversion operators with SFINAE. This is the real use of that trick. But why not just use that trick explicitly in that context?
If you have one approach that works all of the time, such as this macro, you don't need to learn multiple tricks at all. -- -Matt Calabrese