
On Mon, 8 Aug 2011, Matt Calabrese wrote:
On Sun, Aug 7, 2011 at 4:31 PM, Jeremiah Willcock <jewillco@osl.iu.edu>wrote:
Sorry about that -- I probably forgot to check enable_if when I was looking for things to merge. Is the release branch open yet? If so, I'll copy it over ASAP.
Great, not a problem. Do you have any opinions on the macro? The documented solution is long, somewhat unintuitive, and very easy to mess up in subtle ways, so a macro probably should be there in some form, as was suggested in the other thread. I think Thorsten also put one together as well. If you agree that a macro is useful, I wouldn't mind adjusting implementation if necessary and making some quick tests.
I think the macro would be useful, but looking at the implementation, I'm not sure it works with types like you claim. Also, what is the code on lines 45-46 doing? I don't see how that would ever be used by the current definitions of your macros. -- Jeremiah Willcock