My C++-fu isn't very good and I can't seem to figure out this issue.
I have a header file with a typedef in a couple namespaces like so:
namespace gui {
namespace output {
typedef Collections::Generic::List<int> MyTypeDef;
}
}
In a cpp file which includes that header file I have the following code:
array<gui::output::MyTypeDef^> ^ SomeFunction(int Param)
{
// ... yada yada ...
}
I keep getting the compile error:
'MyTypeDef' : is not a member of 'gui::output'.
I'm really confused because intellisense certainly picks up on it... help?