Hi
Some code:
===================================================
#include <iostream>
#include <vector>
using namespace std;
class A
{
};
class r
{
};
class R
{
};
class Jim
{
};
class Jirm
{
};
int main()
{
vector < vector < int* > > a; // This is OK
vector < vector < A* > > b; // This is OK
vector < vector < R* > > c; // This is OK
//vector < vector < r* > > d; // This is not...
vector < vector < Jim* > > e; // This is OK
//vector < vector < Jirm* > > f; // This is not!!
return 0;
}
===================================================
Uncommenting the two commented lines will result in some warnings... because the both classes have an 'r' in its name..... WHY??
Maybe I'm going insane. Or it's too late. I'm going to sleep now before I bash my head against my monitor.
Any help appreciated...
-Steve {neXius}
Some code:
===================================================
#include <iostream>
#include <vector>
using namespace std;
class A
{
};
class r
{
};
class R
{
};
class Jim
{
};
class Jirm
{
};
int main()
{
vector < vector < int* > > a; // This is OK
vector < vector < A* > > b; // This is OK
vector < vector < R* > > c; // This is OK
//vector < vector < r* > > d; // This is not...
vector < vector < Jim* > > e; // This is OK
//vector < vector < Jirm* > > f; // This is not!!
return 0;
}
===================================================
Uncommenting the two commented lines will result in some warnings... because the both classes have an 'r' in its name..... WHY??
Maybe I'm going insane. Or it's too late. I'm going to sleep now before I bash my head against my monitor.
Any help appreciated...
-Steve {neXius}