
[Noah Roberts]
The VS2010 compiler's decltype implementation gets a lot of things wrong though. It'll result in "T const" rather than "T" when used in auto returns and it gets function types wrong. I can't at the moment immediately think of the exact reproduction steps but I do know that decltype as implemented by 2010 is pretty far from being compliant. I still use it but every once in a while run into its issues.
Please report such bugs through Microsoft Connect instead of suffering in silence. If they affect you as a Boost developer or Boost user, please explain that too - it helps us to understand the impact of a bug. Obviously we try to find and fix bugs ourselves, but submitting bug reports helps us help you. :-> Stephan T. Lavavej Visual C++ Libraries Developer