On 5/23/2015 11:04 AM, Steven Watanabe wrote:
AMDG
On 05/23/2015 07:45 AM, Edward Diener wrote:
On 5/23/2015 8:12 AM, Rob Stewart wrote:
On May 22, 2015 2:57:26 PM EDT, Edward Diener
wrote: Oh Microsoft ! What's a little bug that you refuse to fix for at least a decade and counting.
Isn't the problem the lack of two-phase lookup in that compiler?
Considering that in my example which fails the class template never gets instantiated it does not seem that the lack of two-phase lookup should cause such an error. But whatever... Microsoft has a well-known system in place by which they decide that known bugs should not be fixed if they don't think it is important enough to do so.
You can't blame microsoft too much for this particular problem, since the "native" typeof implementation of msvc relies on a compiler bug.
Does it rely on the exact compiler bug my OP illustrates ? Even if it does it is hard to imagine that there would be no Boost.typeof for VC++, since there is an implementation for more conforming compilers.