S
sandwich_eater
The following code throws a compiler error: expected init-declarator
before '<' token
struct mystru
{
int yspace;
std::string ymonkey;
};
typedef std::vector<mystru> myvec;
I think I should use the following instead but what is the usual way to
avoid myvec being picked up somewhere else?
#define myvec std::vector<mystru>
Thanks,
Daniel
before '<' token
struct mystru
{
int yspace;
std::string ymonkey;
};
typedef std::vector<mystru> myvec;
I think I should use the following instead but what is the usual way to
avoid myvec being picked up somewhere else?
#define myvec std::vector<mystru>
Thanks,
Daniel