
11 Sep
2012
11 Sep
'12
1:41 a.m.
[Michel Morin]
Thanks for pointing this out, Stephan. It's highly possible that I did a wrong test. (I usually use cvref-preserving type-name printer. But, when I used VC++ 11, I think I used typeid + name() for getting the type-name.)
Thanks, I just wanted to make sure that nothing really crazy was happening. I've filed DevDiv#483634 "Given const int f(), decltype(f()) should be int" in our internal database for our compiler team to look at, with the magic words "it affects std::result_of and boost::result_of". STL