QuoteOriginally posted by: outrunThe only option is a MACRO IMO, ..like Polter pointed uit with Boost.Phoenix. I don't see how we can do it with generalized lambda's eitherany ideas?Either macros or perhaps generic lambdas (BTW, it's plural, not possessive, English != Dutch :]) as in "But What About Plain Old Functions?" -- beautifully named `_L` converts functions to lambdas:
http://learnmeahaskell.blogspot.com/201 ... s.htmlEDIT: no, this seems to fail, too; also with C++17(?)'s `auto add1(auto x)` -- with the analogous error to the one for `template <typename T> T add1(T x)` (unresolved overloaded function type) :-/