You'd better get used to that sort of thing. That is definitely NOT long.
--
Mats
Type: Posts; User: matsp
You'd better get used to that sort of thing. That is definitely NOT long.
--
Mats
I do agree.
I have worked on code that uses references/pointer to various blocks, but it's only really meaningful if there is more to it than "not having to type a few letters".
If, for...
You could use a reference:
std::vector<player> &v = mngr.plr_vec;
v.push_back(new *player);
--
Mats