VS2013 update 3
VAX: 10.9.2052
I've experienced a bug with 'using' for doing a C++11-style typedef inside a namespace. If you declare the following:
#include <vector>
class MyNamespace {
typedef std::vector<int> IntVector;
using FloatVector = typedef std::vector<float>;
}
class MyNamespace {
void f(IntVector v1, FloatVector v2) {
}
int main(int argc, char* argv[])
{
IntVector v1;
FloatVector v2;
}
}
Then you see that FloatVector isn't recognised (it isn't highlighted, alt-g doesn't work, intellisense doesn't work). However if you remove all the namespaces then it works ok.
Related to http://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=11729&SearchTerms=typedef,using