15 Apr
2017
15 Apr
'17
2:23 p.m.
Daniela Engert wrote:
Thanks for this suggestion, Peter, I was thinking along the same lines as well. But for a start, I rather went for the low-risk path affecting only one compiler. During my experiments to find a fix for my problem I noticed that the decltype-based implemention required a template type alias to work thoughout all Boost libraries. Otherwise the compiler would complain about either a missing 'typename' keyword or a superfluous one.
Interesting. I didn't think of that but you're right. This is probably the reason qualifiers are stripped via a helper function and not with a type trait in the original implementation.